diff --git a/CHANGELOG.md b/CHANGELOG.md index aef9573..bfb2947 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,16 @@ The format follows Keep a Changelog and the package uses semantic versioning. ## Unreleased +- Coordinated custom-persistent namespace wrappers sharing the same immediate + delegate object and encoded namespace within one loaded module. Registry + updates no longer lose settled peer writes; complete same-key mutations and + namespace cleanup preserve order. Failed cleanup drains started deletes + before releasing its barrier. Idle bookkeeping is removed. Registry + contention, queued references and cleanup-error delay are costs. Distinct + delegate identities, module copies, tabs, direct writes, reads and shared + memory remain uncoordinated. Public options, formats and the default + IndexedDB path are unchanged. + - Guarded failed-decryption cleanup against deleting a changed committed persistent-cache row. Eligible concrete built-in reads compare known metadata and encrypted bytes in the same transaction as any delete. diff --git a/benchmarks/shared-persistent-namespace-ordering/README.md b/benchmarks/shared-persistent-namespace-ordering/README.md new file mode 100644 index 0000000..dbf1453 --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/README.md @@ -0,0 +1,311 @@ +# Shared custom-persistent namespace coordination + +Date: 3 December 2026 (UTC). + +Recommendation: merge after normal CI and review. Score: 92/100 against +the prospective 85/100 threshold. + +Cooperating custom-persistent wrappers must not lose registry membership +after their writes have settled. The candidate shares active-only registry +and mutation coordination by immediate delegate identity and encoded +namespace. A later scoped clear can then remove all tracked completed writes. + +## Motivation and scope + +The connection factory creates a new `NamespacedPersistentObjectCache` for +each connection, even when applications supply the same custom delegate +object. The baseline serialises registry updates within each wrapper only. +Concurrent distinct-key writes through different wrappers can read the same +old registry and overwrite each other's membership. All payload writes can +succeed, with no error or fallback, while a later fresh-wrapper clear leaves +readable orphan data. + +The candidate changes only +[`src/browser/cache.ts`](https://github.com/Jason-Doyle/thimble/blob/403d027b79913b9f949f5b58259a3d4d447f4ae6/src/browser/cache.ts) +in production: 98 insertions and 14 deletions. A private weak association +contains active namespace state for each exact immediate delegate object. +Every admission looks up the current state; wrappers do not retain an idle +coordinator that could split later work into separate queues. + +Registry read-modify-write work is serialised. Complete same-key operations +wait for predecessors, and clear/destruction acts as a namespace barrier. +Unrelated payload keys and foreign namespaces can still finish while a +payload is held. Active counts, keys, barriers and empty delegate +associations are released after settlement. + +Cleanup must also drain its started child deletes before releasing a barrier +after failure. Otherwise a rejected cleanup can let a later replacement +commit, then delete it when an older pending child finally completes. +The candidate retains the registry on failure and preserves the first +observed original reason, including `undefined`. A synchronous throw stops +further child starts while earlier starts still drain. + +[MDN's WeakMap documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) +describes identity-based weak association. It supplies no cross-context +coordination. [Web Locks](https://developer.mozilla.org/en-US/docs/Web/API/Web_Locks_API) +has a different cross-context scope; this change adds no Web Lock or fallback +lock protocol. + +No dependency, API, input clone, retry, timeout, registry format, namespace +encoding or database version changes. The default built-in IndexedDB path +and rejection of bounded custom IndexedDB delegates are unchanged. + +## Prospective method + +The [protocol](protocol.json) was published at +[`881970c11949b35d937f08dd473db5191372ab4f`](https://github.com/Jason-Doyle/thimble/commit/881970c11949b35d937f08dd473db5191372ab4f) +before production edits. It fixes 16 recipes, two cache policies, HEAD and +immutable-branch shapes, two/four callers and three replicates: 384 trials +per arm. Memory uses 64 entries and 1 MiB. + +The baseline is the complete cache module from merged main +`e615fda1ef8c091070e9c2970fa86ffe7b32e887`, transpiled without runtime +imports. Both arms use the same clone-owning asynchronous map delegate, +fixtures, unchanged memory implementation and locked dependencies. +There is no network or actual persistence in this comparative matrix. +Arm order alternates by every dimension. + +Each trial starts with fresh wrappers and delegates, a retained same-scope +entry, a similar foreign namespace and an unrelated raw entry. Selected +payload operations are held before commit. Later mutations are admitted, +128 promise turns are drained, and the held operation is released. +Independence controls must actually finish their unrelated work before +release. Focused controls also delay promise completion after commit. + +A separate admission-order logical model includes existing partial tracking +after registry, payload and cleanup failures. Post-settlement cold reads +use fresh memory. Primary and split-identity trials additionally use a fresh +wrapper to clear the namespace and read it cold again. + +The split-delegate control deliberately supplies different immediate +delegate objects over one backing store. It expects lost membership and +readable orphans in both arms. Passing that control does not mean those +writes are protected. + +Source, collector, verifier and tests were committed and pushed at +[`403d027b79913b9f949f5b58259a3d4d447f4ae6`](https://github.com/Jason-Doyle/thimble/commit/403d027b79913b9f949f5b58259a3d4d447f4ae6) +before the actual detached capture. All 81 inventoried inputs matched their +committed blobs and stayed unchanged. The owning branch was restored. +The sole comparative capture qualifies; no capture, CSV or graph was +overwritten. + +Raw rows retain logical admissions/outcomes, every primitive start, snapshot +read, commit, failure and finish, gates, memory traces, copy work, metrics, +actual/expected stores, cold returns and coordination observations. +[Independent replay](verify.mjs) imports neither the collector nor its +fixtures. It reconstructs recipes and seeds, replays all 9,552 primitives, +4,800 reads, 4,608 commits and 144 failures, and checks logical models, +memory/copy accounting, metrics, resource bounds, all 384 pairs, CSV and +graph bytes. + +Five minutes, 50,000 primitive calls and five-second operation deadlines are +diagnostic limits. Microtask turns describe controlled schedules. This is +not a latency, throughput, heap or production-frequency benchmark. + +## Outcomes + +Each recipe has 24 trials per arm. Every candidate trial satisfies its +declared contract. + +| Recipe | Baseline contract passes | Candidate contract passes | Baseline final-state passes | +| --- | ---: | ---: | ---: | +| Concurrent distinct sets | 0/24 | 24/24 | 0/24 | +| Concurrent distinct deletes | 0/24 | 24/24 | 0/24 | +| Held set, later delete | 0/24 | 24/24 | 0/24 | +| Held delete, later set | 0/24 | 24/24 | 0/24 | +| Held set, later clear | 0/24 | 24/24 | 0/24 | +| Held set, later destroy | 0/24 | 24/24 | 0/24 | +| Held clear, later set | 0/24 | 24/24 | 0/24 | +| Held destroy, later set | 0/24 | 24/24 | 0/24 | +| Cross-wrapper barrier chain | 0/24 | 24/24 | 24/24 | +| Independent-key progress | 24/24 | 24/24 | 24/24 | +| Foreign-namespace progress | 24/24 | 24/24 | 24/24 | +| Sequential reuse | 24/24 | 24/24 | 24/24 | +| Registry failure | 24/24 | 24/24 | 24/24 | +| Payload failure | 0/24 | 24/24 | 0/24 | +| Cleanup failure | 0/24 | 24/24 | 0/24 | +| Split-delegate scope control | 24/24 | 24/24 | 24/24 | +| Total | 120/384 | 384/384 | 144/384 | + +Candidate final-state passes are 384/384. Correct declared cold results rise +from 192/384 to 384/384. The historical barrier-chain recipe already reaches +the expected final state in all 24 trials, but starts conflicting work +before the held operation is released. Its improvement is the declared +ordering contract, not a measured final-state repair. + +Every historical concurrent-set trial loses membership after all writes +settle, without persistent errors. Fresh-wrapper clearing leaves one +readable orphan with two callers and three with four: 48 orphan payloads +across 24 trials. The candidate leaves none in those trials. The +split-identity control still leaves 48 per arm, as explicitly expected. + +![Declared contract outcomes by recipe](results/local-2026-12-03-contracts.svg) + +## Work and costs + +| Structural work across 384 trials per arm | Baseline | Candidate | +| --- | ---: | ---: | +| Work-phase registry reads | 1,056 | 1,056 | +| Work-phase registry write attempts | 840 | 840 | +| Work-phase payload write attempts | 672 | 672 | +| Work-phase registry delete attempts | 192 | 192 | +| Work-phase payload delete attempts | 504 | 504 | +| Work-phase failed primitive attempts | 72 | 72 | +| Work-phase committed mutations | 2,136 | 2,136 | +| All work-phase primitive attempts | 3,264 | 3,264 | +| Memory-tier successful clones | 696 | 696 | +| Logical clone-input bytes | 104,700 | 104,700 | +| All primitives, including verification | 4,752 | 4,800 | + +All 384 pairs retain identical memory traces, copy work, metrics and logical +operation fulfilment/rejection outcomes. The 24 sequential-reuse pairs retain +exactly the same complete primitive tape, including inspection reads. Each sequential recipe uses +17 work-phase calls. Factory CRUD controls use three gets, three sets, +one delete and two memory-tier clones under both policies in the historical +and candidate focused suites; native factory controls confirm those counts. + +The additional 48 verification-phase calls are required payload deletions +during the primary fresh-wrapper purge. Correctly retaining all membership +causes clear to delete more entries than the historical incomplete registry. +They must not be hidden as unchanged cleanup work. Total calls across both +arms are 9,552, below the fixed cap. + +Candidate coordination peaks at four active operations, four tracked key +queues and one tracked barrier. Bounds hold at every recorded event, +including fresh-wrapper purge, and no association remains at quiescence. +The focused suite additionally runs 1,000 distinct namespace lifecycles +without idle history. These are logical bookkeeping observations, not +physical heap or garbage-collection measurements. + +Shared registry work introduces head-of-line blocking, including between +different payload keys. Payload operations on different keys remain +independently runnable after registry work. Same-key and namespace barriers +can wait indefinitely behind a hung delegate. Pending entries and dependency +snapshots are not bounded by resident-cache budgets. Failure reporting can +now wait for the slowest started delete. None of these costs is timed here. + +## Qualification and retained attempts + +| Qualification | Observed outcome | +| --- | --- | +| Exact historical focused suite | 44 pass, 98 expected failures, 142 total | +| Candidate focused suite | 142/142 pass | +| Existing cache, client, factory and publication controls | 354/354 pass | +| Encrypted native schedules | 48/48 pass | +| Native connection-factory integration | 6/6 pass | +| Additional packed-module cleanup probes | 2/2 pass | +| Independent comparative replay | 768 rows and 384 pairs pass | + +Native coverage is 18 cases per engine: eight selected schedules under both +policies, plus both-policy factory integration. Each uses an unbounded +custom encrypted IndexedDB delegate, two callers and HEAD entries. Physical +row observations confirm binary IV/ciphertext without plaintext values and +a non-extractable AES-GCM device key; no key is exported. There are no native +failures, skips or flaky cases. + +The unchanged Windows x64 host used Node 22.22.2, Chromium 153.0.8010.12, +Firefox 155.0 and Playwright WebKit 26.6. Windows WebKit does not qualify +Safari on Apple hardware. + +The initial focused suite had 44 cases: historical 14 pass/30 expected +failures; candidate 44 pass. Coverage was then expanded to all shape/caller +combinations and factory controls. An intermediate 496-case invocation had +two incorrect factory clone expectations: it expected three but observed +the existing two copies. Correcting those assertions required no production +change; the final invocation passes 496/496. + +The first fixture type check also caught an overly narrow instrumentation +argument type. It was corrected before the source freeze. The first native +CLI invocation used filesystem backslashes as a Playwright regular-expression +selector and executed zero tests. Its report/log are retained. The corrected +basename selector executed all 54 cases without a source change. + +Two packed-module probes cover a held delete followed by a synchronously +throwing delete and an untouched later key. Both drain the held work, stop +further child starts, preserve the original error or `undefined` rejection, +retain registry tracking, release bookkeeping and preserve the queued peer +replacement. + +Root, collector and native-spec types, package build/exports and isolated +consumer checks pass. Canonical documentation feeds the website and discovery +output; no API/export or starter-example change is needed. Normal exact-head +CI and CodeQL remain mandatory before merging. + +All seven local runner reports and accompanying logs are retained with exact +digests in the qualification observations. Both native helpers began with +absent data and free ports. Only their three verified generated entries were +removed after timestamp, reparse-point and stopped-listener checks; generated +keys were not read. No cloud campaign, infrastructure, runtime, CI +configuration, release or deployment change was made. + +## Evidence and reproduction + +| Artifact | Purpose | +| --- | --- | +| [Raw comparison](results/local-2026-12-03.json) | All primitive/event/state rows, input hashes, gates and pairs | +| [Trial CSV](results/local-2026-12-03-trials.csv) | One row per arm/trial | +| [Contract graph](results/local-2026-12-03-contracts.svg) | Exact counts from raw summary | +| [Native observations](results/native-2026-12-03.json) | All 54 browser observations and retained runner digest | +| [Qualification observations](results/qualification-2026-12-03.json) | Runner/log digests, counts, environment and packed probes | + +The raw comparison is 23,427,381 bytes. SHA256: +`bf44d97e73b4476830fcce24503112152994e1ac5d80cb0f0ec85023af3d154a`. + +Replay the published capture without executing either cache: + +```powershell +node benchmarks\shared-persistent-namespace-ordering\verify.mjs ` + benchmarks\shared-persistent-namespace-ordering\results\local-2026-12-03.json +``` + +For a new capture, use an exclusively owned checkout with the installed locked +dependencies, detach at the source commit, and supply unused evidence names: + +```powershell +git switch --detach 403d027b79913b9f949f5b58259a3d4d447f4ae6 +npx --no-install tsx benchmarks\shared-persistent-namespace-ordering\run.ts ` + --output benchmarks\shared-persistent-namespace-ordering\results\new-run.json +``` + +Restore the owning branch after capture. Do not overwrite published evidence. +Focused candidate and historical suites use: + +```powershell +npx --no-install vitest run tests\browser-persistent-namespace.test.ts +npx --no-install vitest run ` + --config benchmarks\shared-persistent-namespace-ordering\baseline-vitest.config.ts +npx --no-install playwright test 'cache-shared-namespace\.spec\.ts' +``` + +The historical command is expected to exit non-zero with the recorded +regressions. Native qualification requires installed browsers, free loopback +ports 5173/8787/8790 and absent helper data. Its existing server helper creates +local generated key material; remove only invocation-owned generated paths +after stopping the helper. + +## Decision and rejection boundaries + +| Criterion | Score | Basis | +| --- | ---: | --- | +| Namespace correctness | 40/40 | Settled-write membership, ordered state and failure-drain gates pass | +| Concurrency and failure compatibility | 23/25 | Independent progress and existing controls pass; delegate requirements and shared-registry contention remain | +| Reproducible evidence | 19/20 | Prospective protocol, exact historical module, raw independent replay and three native engines; synthetic schedules and Windows coverage only | +| Scope and simplicity | 10/15 | One production class and no API/schema change, with additional queue, barrier, registry-tail and release logic | +| Total | 92/100 | Above 85/100, subject to all hard gates and review | + +This is an engineering judgement, not a probability. + +Reject promotion if membership, state, first-reason failure draining, scoped +cleanup, ordinary call/copy counts, independent-key progress or released +bookkeeping regresses, or if normal exact-head CI fails. + +Use the change only for cooperating wrappers from one loaded module sharing +the exact same immediate delegate object and encoded namespace. Distinct +delegate objects over one store, module copies, tabs, direct writes and +recursive awaited same-domain mutations are poor fits. Inputs must remain +stable until `set` settles and delegate promises must reflect completion. + +Reads and shared memory are not fenced. A peer can retain stale memory or +fill it after cleanup. This provides no durable logout, arbitrary malformed +registry repair, reserved-key collision fix, cancellation, production race +frequency, provider-cost, latency, throughput, heap or GC benefit. diff --git a/benchmarks/shared-persistent-namespace-ordering/baseline-vitest.config.ts b/benchmarks/shared-persistent-namespace-ordering/baseline-vitest.config.ts new file mode 100644 index 0000000..899d6b3 --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/baseline-vitest.config.ts @@ -0,0 +1,17 @@ +import { execFileSync } from "node:child_process"; +import { readFileSync } from "node:fs"; +import { fileURLToPath } from "node:url"; +import { defineConfig } from "vitest/config"; + +const root = fileURLToPath(new URL("../../", import.meta.url)); +const target = fileURLToPath(new URL("../../src/browser/cache.ts", import.meta.url)).replaceAll("\\", "/"); +const { baseline } = JSON.parse(readFileSync(new URL("./protocol.json", import.meta.url), "utf8")); +const source = execFileSync("git", ["--no-pager", "show", `${baseline}:src/browser/cache.ts`], { cwd: root, encoding: "utf8" }); +export default defineConfig({ + root, + plugins: [{ + name: "exact-baseline-shared-persistent-namespace", enforce: "pre", + load(id) { return id.replaceAll("\\", "/").split("?")[0] === target ? source : null; }, + }], + test: { include: ["tests/browser-persistent-namespace.test.ts"] }, +}); diff --git a/benchmarks/shared-persistent-namespace-ordering/factory-fixtures.ts b/benchmarks/shared-persistent-namespace-ordering/factory-fixtures.ts new file mode 100644 index 0000000..66a0f91 --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/factory-fixtures.ts @@ -0,0 +1,75 @@ +import { createThimbleConnection } from "../../src/browser/connect.js"; +import type { CachedJsonObject, PersistentObjectCache } from "../../src/browser/cache.js"; +import { entry, equal, MapBackend, type Backend, type Policy } from "./fixtures.js"; + +export async function runFactoryCase(policy: Policy, backend: Backend = new MapBackend()) { + const calls: Array<{ phase: string; kind: string; key: string }> = []; + let phase = "seed", clones = 0; + const previousClone = globalThis.structuredClone; + const shared: PersistentObjectCache = { + get(key) { calls.push({ phase, kind: "get", key }); return Promise.resolve(backend.read(key)); }, + set(value) { calls.push({ phase, kind: "set", key: value.key }); return Promise.resolve(backend.write(value)); }, + delete(key) { calls.push({ phase, kind: "delete", key }); return Promise.resolve(backend.remove(key)); }, + async clear() { throw new Error("Factory must not clear the whole custom delegate"); }, + async destroy() { throw new Error("Factory must not destroy the whole custom delegate"); }, + }; + const connections: Awaited>[] = []; + const channel = `p16-factory-${crypto.randomUUID()}`; + const open = async (scope = "p16-owner") => { + const connection = await createThimbleConnection({ + configurationUrl: "https://p16.example.test/api/config", + persistentCache: shared, + channelName: channel, + fetchImplementation: () => Promise.resolve(Response.json({ + name: "ThimbleDB", provider: "local", readBaseUrl: "/api/objects", + headTtlMs: 10_000, cachePolicy: policy, collectionLayouts: { notes: "snapshot" }, + layoutGeneration: "generation-1", csrfToken: "fixture", + user: { id: "fixture", provider: "dev", roles: [], tenants: [], identities: [] }, + scope: { id: scope, encrypted: false, keyId: null, keyEndpoint: null }, + })), + }); + connections.push(connection); + return connection; + }; + try { + const first = await open(), second = await open(), foreign = await open("p16-owner:other"); + const foreignEntry = entry("head", 90, "foreign/HEAD.json"); + await foreign.cache.set(foreignEntry); + globalThis.structuredClone = ((value: unknown, options?: StructuredSerializeOptions) => { + const result = previousClone(value, options); + if (phase === "sequential") clones++; + return result; + }) as typeof structuredClone; + phase = "sequential"; + const sequentialEntry = entry("head", 1, "sequential/HEAD.json"); + await first.cache.set(sequentialEntry); + first.cache.clearMemory(); + const sequentialReturn = await first.cache.get(sequentialEntry.key); + await first.cache.delete(sequentialEntry.key); + const sequential = { + counts: Object.fromEntries(["get", "set", "delete"].map(kind => [kind, + calls.filter(call => call.phase === "sequential" && call.kind === kind).length])), + clones, returned: sequentialReturn, expected: sequentialEntry, + correct: equal(sequentialReturn, sequentialEntry), + }; + phase = "reset"; await first.cache.clearAll(); + phase = "concurrent"; + const values: CachedJsonObject[] = [entry("head", 2, "first/HEAD.json"), entry("head", 3, "second/HEAD.json")]; + await Promise.all([first.cache.set(values[0]!), second.cache.set(values[1]!)]); + const afterSets = await backend.snapshot(); + phase = "clear"; await first.cache.clearAll(); + const afterClear = await backend.snapshot(); + phase = "cold"; + const cold = await open(); + const returned = await Promise.all(values.map(value => cold.cache.get(value.key))); + foreign.cache.clearMemory(); + const foreignReturned = await foreign.cache.get(foreignEntry.key); + const correct = sequential.correct && afterSets.length === 5 && afterClear.length === 2 && + returned.every(value => value === null) && equal(foreignReturned, foreignEntry) && + connections.every(connection => connection.cache.metrics().persistentErrors === 0); + return { policy, correct, sequential, calls, afterSets, afterClear, returned, foreignReturned, foreignExpected: foreignEntry }; + } finally { + globalThis.structuredClone = previousClone; + for (const connection of connections) connection.client.close(); + } +} diff --git a/benchmarks/shared-persistent-namespace-ordering/fixtures.ts b/benchmarks/shared-persistent-namespace-ordering/fixtures.ts new file mode 100644 index 0000000..ce2b4e1 --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/fixtures.ts @@ -0,0 +1,396 @@ +import { + MemoryObjectCache, NamespacedPersistentObjectCache, TieredObjectCache, + type CachedJsonObject, type PersistentObjectCache, +} from "../../src/browser/cache.js"; + +export const scenarios = [ + "concurrent-distinct-sets", "concurrent-distinct-deletes", "late-set-delete", + "late-delete-set", "late-set-clear", "late-set-destroy", "late-clear-set", + "late-destroy-set", "cross-wrapper-barrier-chain", "independent-key-progress", + "foreign-namespace-progress", "sequential-reuse", "registry-failure", + "payload-failure", "cleanup-failure", "split-delegate-control", +] as const; +export type Scenario = typeof scenarios[number]; +export type Policy = "content" | "locations"; +export type Shape = "head" | "branch"; +export type Runtime = { + Wrapper: typeof NamespacedPersistentObjectCache; + Memory: typeof MemoryObjectCache; + Tiered: typeof TieredObjectCache; +}; +export const currentRuntime: Runtime = { + Wrapper: NamespacedPersistentObjectCache, Memory: MemoryObjectCache, Tiered: TieredObjectCache, +}; +export type Backend = { + read(key: string): CachedJsonObject | null | Promise; + write(entry: CachedJsonObject): void | Promise; + remove(key: string): void | Promise; + snapshot(): CachedJsonObject[] | Promise; +}; +type Kind = "set" | "delete" | "clear" | "destroy"; +type Failure = "registry" | "payload" | "cleanup"; +type Action = { + id: number; actor: number; namespace: string; kind: Kind; key?: string; + entry?: CachedJsonObject; fail?: Failure; admitted?: boolean; settled: boolean; + outcome?: string; originalReason?: boolean; +}; +type Event = { + event: string; phase: string; id?: number; action?: number; actor?: number; + kind?: string; key?: string; entry?: CachedJsonObject | null; error?: string; +}; +type Options = { + backend?: Backend; key?: string; afterCommit?: boolean; synchronousCleanupThrow?: boolean; + disabledPolicy?: boolean; memoryOnly?: boolean; malformedRegistry?: boolean; +}; +const copy = globalThis.structuredClone.bind(globalThis); +const clock = 1_700_000_000_000, owner = "p16", foreign = "p16:other"; +export const scoped = (namespace: string, key: string) => `${namespace.length}:${namespace}:${key}`; +export const registryKey = (namespace: string) => scoped(namespace, "__thimbledb_cache_keys__"); +export function canonical(value: unknown): unknown { + if (Array.isArray(value)) return value.map(canonical); + if (value && typeof value === "object") return Object.fromEntries( + Object.entries(value).sort(([a], [b]) => a < b ? -1 : a > b ? 1 : 0).map(([key, item]) => [key, canonical(item)]), + ); + return value; +} +export const equal = (a: unknown, b: unknown) => JSON.stringify(canonical(a)) === JSON.stringify(canonical(b)); +const ordered = (values: CachedJsonObject[]) => [...values].sort((a, b) => a.key < b.key ? -1 : a.key > b.key ? 1 : 0); +const keysOf = (entry?: CachedJsonObject | null) => new Set( + entry && Array.isArray(entry.value) && entry.value.every(key => typeof key === "string") + ? entry.value as string[] : [], +); +const marker = (namespace: string, keys: Set): CachedJsonObject => ({ + key: registryKey(namespace), etag: "", value: [...keys].sort(), cachedAt: clock, checkedAt: clock, immutable: false, +}); +export function entry(shape: Shape, version: number, key: string): CachedJsonObject { + return { + key, etag: shape === "head" ? `version-${version}` : "immutable-content", + value: shape === "head" ? { revision: version, rootHash: `root-${version}` } + : { kind: "branch", children: { a: "immutable-child" } }, + cachedAt: version * 100, checkedAt: version * 100, immutable: shape === "branch", + }; +} +export function deferred() { + let resolve!: () => void; + const promise = new Promise(done => { resolve = done; }); + return { promise, resolve }; +} +export async function bounded(promise: Promise, label: string): Promise { + let timer!: ReturnType; + try { + return await Promise.race([promise, new Promise((_, reject) => { + timer = setTimeout(() => reject(new Error(`${label} stalled`)), 5_000); + })]); + } finally { clearTimeout(timer); } +} +export async function flush() { for (let turn = 0; turn < 128; turn++) await Promise.resolve(); } +export class MapBackend implements Backend { + readonly entries = new Map(); + read(key: string) { return copy(this.entries.get(key) ?? null); } + write(value: CachedJsonObject) { this.entries.set(value.key, copy(value)); } + remove(key: string) { this.entries.delete(key); } + snapshot() { return ordered([...this.entries.values()].map(value => copy(value))); } +} +function thenable(value: T | Promise): value is Promise { + return Boolean(value && typeof (value as Promise).then === "function"); +} + +export async function runTrial( + runtime: Runtime, scenario: Scenario, policy: Policy = "content", shape: Shape = "head", + callers: 2 | 4 = 2, options: Options = {}, +) { + const backend = options.backend ?? new MapBackend(), expected = new Map(); + const suffix = shape === "head" ? "HEAD.json" : "branch.json"; + const key = options.key ?? `item-0/${suffix}`, otherKey = (index: number) => index === 0 ? key : `item-${index}/${suffix}`; + const keepKey = `kept/${suffix}`, failKey = `${options.synchronousCleanupThrow ? "z-failure" : "failure"}/${suffix}`, heldKey = `held/${suffix}`; + const actions: Action[] = []; + const add = (kind: Kind, actor: number, logicalKey = key, fail?: Failure, namespace = owner) => { + const id = actions.length; + actions.push({ id, actor, namespace, kind, settled: false, ...(fail ? { fail } : {}), + ...(kind === "set" || kind === "delete" ? { key: logicalKey } : {}), + ...(kind === "set" ? { entry: entry(shape, id + 1, logicalKey) } : {}) }); + }; + if (scenario === "concurrent-distinct-sets" || scenario === "split-delegate-control") { + for (let actor = 0; actor < callers; actor++) add("set", actor, otherKey(actor)); + } else if (scenario === "concurrent-distinct-deletes") { + for (let actor = 0; actor < callers; actor++) add("delete", actor, otherKey(actor)); + } else if (scenario === "late-set-delete") { add("set", 0); add("delete", 1); } + else if (scenario === "late-delete-set") { add("delete", 0); add("set", 1); } + else if (scenario === "late-set-clear" || scenario === "late-set-destroy") { + add("set", 0); add(scenario === "late-set-clear" ? "clear" : "destroy", 1); + } else if (scenario === "late-clear-set" || scenario === "late-destroy-set") { + add(scenario === "late-clear-set" ? "clear" : "destroy", 0); add("set", 1); + } else if (scenario === "cross-wrapper-barrier-chain") { + add("set", 0); add("clear", 1); add("set", 2 % callers); add("destroy", 3 % callers); add("set", 0); + } else if (scenario === "independent-key-progress" || scenario === "foreign-namespace-progress") { + add("set", 0); + for (let actor = 1; actor < callers; actor++) add("set", actor, otherKey(actor), undefined, + scenario === "foreign-namespace-progress" ? foreign : owner); + } else if (scenario === "sequential-reuse") { + add("set", 0); add("set", 1); add("delete", 0); add("clear", 1); add("destroy", 0); add("set", 1, otherKey(1)); + } else if (scenario === "registry-failure" || scenario === "payload-failure") { + add("set", 0, key, scenario === "registry-failure" ? "registry" : "payload"); add("set", 1, otherKey(1)); + } else { add("destroy", 0, key, "cleanup"); add("set", 1, heldKey); } + const seed = async (value: CachedJsonObject) => { await backend.write(value); expected.set(value.key, copy(value)); }; + const seedNamespace = async (namespace: string, values: CachedJsonObject[]) => { + for (const value of values) await seed({ ...value, key: scoped(namespace, value.key) }); + await seed(marker(namespace, new Set(values.map(value => value.key)))); + }; + const ownSeeds = [entry(shape, 90, keepKey)]; + if (scenario === "concurrent-distinct-deletes") { + for (let actor = 0; actor < callers; actor++) ownSeeds.push(entry(shape, 0, otherKey(actor))); + } else if (["late-delete-set", "late-clear-set", "late-destroy-set"].includes(scenario)) ownSeeds.push(entry(shape, 0, key)); + else if (scenario === "cleanup-failure") ownSeeds.push(entry(shape, 0, failKey), entry(shape, 0, heldKey)); + await seedNamespace(owner, ownSeeds); + await seedNamespace(foreign, [entry(shape, 99, key)]); + await seed(entry(shape, 777, "unrelated/raw-object")); + if (options.malformedRegistry) await seed({ ...marker(owner, new Set()), value: { malformed: true } }); + const initial = ordered([...expected.values()].map(value => copy(value))); + const gate = { entered: deferred(), released: deferred(), used: false, id: -1 }; + const gatedSet = scenario.startsWith("late-set-") || ["cross-wrapper-barrier-chain", "independent-key-progress", "foreign-namespace-progress"].includes(scenario); + const gatedDelete = scenario === "late-delete-set" || scenario === "late-clear-set" || scenario === "late-destroy-set" || scenario === "cleanup-failure"; + const hasGate = gatedSet || gatedDelete; + const gateKey = scenario === "cleanup-failure" ? heldKey : key; + const failure = new Error(`Injected ${scenario} failure`), events: Event[] = []; + const started: Promise[] = [], pending: Promise[] = []; + let phase = "work", nextId = 0, failureUsed = false, auxiliaryOutstanding = 0; + const emit = (event: Omit) => { events.push({ ...event, phase }); observe(); }; + const active = new Map(); + const coordinator: Array<{ phase: string; event: string; namespaces: number; keys: number; barriers: number; active: number; outstanding: number }> = []; + const delegates: PersistentObjectCache[] = []; + const observe = () => { + const states = (runtime.Wrapper as unknown as { + mutations?: WeakMap; barrier?: unknown; active: number }>>; + }).mutations; + let namespaces = 0, keys = 0, barriers = 0, count = 0; + for (const delegate of delegates) for (const state of states?.get(delegate)?.values() ?? []) { + namespaces++; keys += state.pending.size; barriers += Number(Boolean(state.barrier)); count += state.active; + } + coordinator.push({ phase, event: events.at(-1)?.event ?? "checkpoint", namespaces, keys, barriers, + active: count, outstanding: actions.filter(action => action.admitted && !action.settled).length + auxiliaryOutstanding }); + }; + const track = (promise: Promise) => { started.push(promise.catch(() => undefined)); return promise; }; + class RecordingDelegate implements PersistentObjectCache { + async get(logicalKey: string) { + const id = nextId++; emit({ event: "start", id, kind: "get", key: logicalKey }); + try { + const request = backend.read(logicalKey), value = thenable(request) ? await request : request; + emit({ event: "read", id, entry: copy(value) }); return copy(value); + } finally { emit({ event: "finish", id }); } + } + set(value: CachedJsonObject) { return track(this.write("set", value.key, value)); } + delete(logicalKey: string) { + if (options.synchronousCleanupThrow && scenario === "cleanup-failure" && logicalKey === scoped(owner, failKey) && !failureUsed) { + failureUsed = true; + const id = nextId++; emit({ event: "start", id, kind: "delete", key: logicalKey }); + emit({ event: "failure", id, error: failure.message }); emit({ event: "finish", id }); throw failure; + } + return track(this.write("delete", logicalKey)); + } + async clear() { throw new Error("A namespace wrapper must not clear its whole delegate"); } + async destroy() { throw new Error("A namespace wrapper must not destroy its whole delegate"); } + private async write(kind: "set" | "delete", logicalKey: string, value?: CachedJsonObject) { + const id = nextId++; emit({ event: "start", id, kind, key: logicalKey, ...(value ? { entry: copy(value) } : {}) }); + const selectedGate = !gate.used && hasGate && logicalKey === scoped(owner, gateKey) && + (gatedSet ? kind === "set" && value?.cachedAt === 100 : kind === "delete"); + if (selectedGate) { gate.used = true; gate.id = id; } + const wait = async () => { + emit({ event: "gate", id }); gate.entered.resolve(); await gate.released.promise; emit({ event: "released", id }); + }; + try { + if (selectedGate && !options.afterCommit) await wait(); + const selectedFailure = !failureUsed && ( + scenario === "registry-failure" && kind === "set" && logicalKey === registryKey(owner) && + Array.isArray(value?.value) && value.value.includes(key) || + scenario === "payload-failure" && kind === "set" && logicalKey === scoped(owner, key) || + scenario === "cleanup-failure" && kind === "delete" && logicalKey === scoped(owner, failKey) + ); + if (selectedFailure) { failureUsed = true; throw failure; } + const request = kind === "set" ? backend.write(value!) : backend.remove(logicalKey); + if (thenable(request)) await request; + emit({ event: "commit", id }); + if (selectedGate && options.afterCommit) await wait(); + } catch (error) { + emit({ event: "failure", id, error: error instanceof Error ? error.message : String(error) }); throw error; + } finally { emit({ event: "finish", id }); } + } + } + const effectivePolicy = options.disabledPolicy ? "none" : policy; + class RecordingMemory extends runtime.Memory { + readonly operations: Array<{ kind: string; key?: string }> = []; + override get(logicalKey: string) { this.operations.push({ kind: "get", key: logicalKey }); return super.get(logicalKey); } + override set(value: CachedJsonObject) { this.operations.push({ kind: "set", key: value.key }); super.set(value); } + override delete(logicalKey: string) { this.operations.push({ kind: "delete", key: logicalKey }); super.delete(logicalKey); } + override clear() { this.operations.push({ kind: "clear" }); super.clear(); } + values() { + return ordered([...(this as unknown as { entries: Map }).entries.values()].map(value => copy(value.entry))); + } + } + const memories: RecordingMemory[] = [], wrappers: PersistentObjectCache[] = [], caches: TieredObjectCache[] = []; + const expectedMemory = Array.from({ length: callers }, () => new Map()); + const expectedErrors = Array.from({ length: callers }, () => 0); + const makeWrapper = (namespace: string, delegate: PersistentObjectCache, actor: number) => { + const wrapper = new runtime.Wrapper(namespace, delegate); + const inspectable = wrapper as unknown as { registry(): Promise> }; + const registry = inspectable.registry.bind(wrapper); + inspectable.registry = () => { + emit({ event: "namespace-io", actor, ...(active.has(actor) ? { action: active.get(actor)! } : {}) }); + return registry(); + }; + for (const kind of ["set", "delete", "clear", "destroy"] as const) { + const method = wrapper[kind].bind(wrapper) as (...args: unknown[]) => Promise; + (wrapper[kind] as unknown) = (...args: unknown[]) => { + const action = actions.find(item => item.actor === actor && !item.settled && item.admitted && + ![...active.values()].includes(item.id) && item.kind === kind && + (kind !== "set" || item.entry?.cachedAt === (args[0] as CachedJsonObject).cachedAt)); + if (action) active.set(actor, action.id); + return method(...args).finally(() => { if (active.get(actor) === action?.id) active.delete(actor); }); + }; + } + return wrapper; + }; + delegates.push(new RecordingDelegate()); + for (let actor = 0; actor < callers; actor++) { + if (scenario === "split-delegate-control" && actor > 0) delegates.push(new RecordingDelegate()); + const namespace = scenario === "foreign-namespace-progress" && actor > 0 ? foreign : owner; + const wrapper = makeWrapper(namespace, delegates[scenario === "split-delegate-control" ? actor : 0]!, actor); + const memory = new RecordingMemory(64, 1_048_576); + wrappers.push(wrapper); memories.push(memory); + caches.push(new runtime.Tiered(memory, options.memoryOnly ? false : wrapper, effectivePolicy)); + } + const apply = (action: Action) => { + if (!action.admitted) return; + const registry = registryKey(action.namespace), keys = keysOf(expected.get(registry)); + if (action.kind === "set") { + if (action.fail === "registry") return; + keys.add(action.key!); expected.set(registry, marker(action.namespace, keys)); + if (action.fail !== "payload") expected.set(scoped(action.namespace, action.key!), { ...copy(action.entry!), key: scoped(action.namespace, action.key!) }); + } else if (action.kind === "delete") { + expected.delete(scoped(action.namespace, action.key!)); keys.delete(action.key!); + expected.set(registry, marker(action.namespace, keys)); + } else { + for (const logicalKey of keys) { + if (action.fail === "cleanup" && logicalKey === failKey) { + if (options.synchronousCleanupThrow) break; + } else expected.delete(scoped(action.namespace, logicalKey)); + } + if (!action.fail) expected.delete(registry); + } + }; + let cloneCalls = 0, cloneInputBytes = 0; + const previousClone = globalThis.structuredClone, previousNow = Date.now; + globalThis.structuredClone = ((value: unknown, cloneOptions?: StructuredSerializeOptions) => { + const result = copy(value, cloneOptions); + if (phase === "work") { cloneCalls++; cloneInputBytes += new TextEncoder().encode(JSON.stringify(value)).byteLength; } + return result; + }) as typeof structuredClone; + Date.now = () => clock; + const submit = (action: Action) => { + const cache = caches[action.actor]!; + action.admitted = !options.memoryOnly && (action.kind === "destroy" || + cache.metrics().persistentAvailable && (action.kind !== "set" || effectivePolicy !== "none")); + emit({ event: "admit", action: action.id, actor: action.actor, kind: action.kind, ...(action.key !== undefined ? { key: action.key } : {}) }); + const memory = expectedMemory[action.actor]!; + if (action.kind === "set" && effectivePolicy !== "none") memory.set(action.key!, copy(action.entry!)); + else if (action.kind === "delete") memory.delete(action.key!); + else if (action.kind === "clear" || action.kind === "destroy") memory.clear(); + apply(action); + if (action.admitted && action.fail) expectedErrors[action.actor] = expectedErrors[action.actor]! + 1; + const request = action.kind === "set" ? cache.set(action.entry!) : action.kind === "delete" ? cache.delete(action.key!) + : action.kind === "clear" ? cache.clearAll() : cache.destroy(); + const observed = request.then(() => { + action.outcome = "fulfilled"; action.settled = true; emit({ event: "settle", action: action.id }); + }, reason => { + action.outcome = reason instanceof Error ? reason.message : String(reason); + action.originalReason = reason === failure; action.settled = true; emit({ event: "settle", action: action.id }); + }); + pending.push(observed); return observed; + }; + try { + let progress = true, conflictingBlocked = true; + if (hasGate && !options.disabledPolicy && !options.memoryOnly) { + submit(actions[0]!); + await bounded(gate.entered.promise, "Held namespace primitive"); + for (const action of actions.slice(1)) { + const request = submit(action); + if (scenario === "independent-key-progress" || scenario === "foreign-namespace-progress") await bounded(request, "Independent payload progress"); + } + await flush(); + progress = scenario !== "independent-key-progress" && scenario !== "foreign-namespace-progress" || + actions.slice(1).every(action => action.settled); + if (!["independent-key-progress", "foreign-namespace-progress"].includes(scenario)) { + conflictingBlocked = !events.some(event => event.event === "namespace-io" && (event.action ?? 0) > 0) && + !(scenario === "late-set-delete" && events.some(event => event.event === "start" && + event.kind === "delete" && event.key === scoped(owner, key))); + } + emit({ event: "checkpoint", kind: "before-release" }); gate.released.resolve(); + } else { + for (const action of actions) { + const request = submit(action); + if (scenario === "sequential-reuse") await bounded(request, "Sequential namespace operation"); + } + } + await bounded(Promise.all(pending), "Logical namespace settlement"); + await bounded(Promise.all(started), "Started primitive settlement"); + await flush(); emit({ event: "quiescent" }); + if (scenario === "split-delegate-control") { + expected.set(registryKey(owner), marker(owner, new Set([keepKey, otherKey(callers - 1)]))); + } + const actual = ordered(await backend.snapshot()), wanted = ordered([...expected.values()].map(value => copy(value))); + const memory = memories.map(value => ({ operations: copy(value.operations), values: value.values() })); + const metrics = caches.map(cache => cache.metrics()); + const memoryCorrect = memory.every((value, actor) => equal(value.values, ordered([...expectedMemory[actor]!.values()]))); + const metricsCorrect = metrics.every((value, actor) => value.persistentErrors === expectedErrors[actor] && + value.persistentAvailable === (!options.memoryOnly && expectedErrors[actor] === 0) && + value.writes === actions.filter(action => action.actor === actor && action.kind === "set" && effectivePolicy !== "none").length); + const outcomesCorrect = actions.every(action => action.outcome === (action.admitted && action.fail && action.kind === "destroy" + ? failure.message : "fulfilled") && (!(action.admitted && action.fail && action.kind === "destroy") || action.originalReason)); + const workClones = { calls: cloneCalls, inputBytes: cloneInputBytes }; + const resourcesClean = coordinator.at(-1)!.namespaces === 0 && coordinator.at(-1)!.active === 0; + const resourcesBound = coordinator.every(value => value.active <= value.outstanding && value.keys <= value.active && value.namespaces <= value.active); + const coldKeys = [...new Set([keepKey, key, ...actions.flatMap(action => action.key === undefined ? [] : [action.key])])].sort(); + const cold = async (expectedStore: Map) => { + const wrapper = makeWrapper(owner, delegates[0]!, callers + 1); + const cache = new runtime.Tiered(new runtime.Memory(64, 1_048_576), options.memoryOnly ? false : wrapper, effectivePolicy); + const returned: Array = [], expectedReturned: Array = []; + for (const logicalKey of coldKeys) { + returned.push(await cache.get(logicalKey)); + const value = expectedStore.get(scoped(owner, logicalKey)); + expectedReturned.push(effectivePolicy === "none" || options.memoryOnly || !value ? null : { ...copy(value), key: logicalKey }); + } + return { keys: coldKeys, returned, expected: expectedReturned, correct: equal(returned, expectedReturned) }; + }; + phase = "cold"; + const beforePurge = await bounded(cold(expected), "Cold namespace reads"); + let purge: { actual: CachedJsonObject[]; expected: CachedJsonObject[]; cold: Awaited> } | null = null; + if (scenario === "concurrent-distinct-sets" || scenario === "split-delegate-control") { + phase = "purge"; + auxiliaryOutstanding++; + try { await bounded(makeWrapper(owner, delegates[0]!, callers + 2).clear(), "Fresh-wrapper namespace clear"); } + finally { auxiliaryOutstanding--; observe(); } + const keys = keysOf(expected.get(registryKey(owner))); + for (const logicalKey of keys) expected.delete(scoped(owner, logicalKey)); + expected.delete(registryKey(owner)); + phase = "post-purge-cold"; + purge = { actual: ordered(await backend.snapshot()), expected: ordered([...expected.values()].map(value => copy(value))), cold: await cold(expected) }; + } + const stateCorrect = equal(actual, wanted) && (!purge || equal(purge.actual, purge.expected)); + const coldCorrect = beforePurge.correct && (!purge || purge.cold.correct); + return { + scenario, policy, effectivePolicy, shape, callers, + options: { ...(options.key !== undefined ? { key: options.key } : {}), ...(options.afterCommit ? { afterCommit: true } : {}), + ...(options.synchronousCleanupThrow ? { synchronousCleanupThrow: true } : {}), ...(options.disabledPolicy ? { disabledPolicy: true } : {}), + ...(options.memoryOnly ? { memoryOnly: true } : {}), ...(options.malformedRegistry ? { malformedRegistry: true } : {}) }, + correct: stateCorrect && coldCorrect && memoryCorrect && metricsCorrect && outcomesCorrect && progress && + conflictingBlocked && resourcesClean && resourcesBound, + stateCorrect, coldCorrect, memoryCorrect, metricsCorrect, outcomesCorrect, progress, conflictingBlocked, resourcesClean, resourcesBound, + initial, actual, expected: wanted, beforePurge, purge, actions: copy(actions), + memory, metrics, workClones, events: copy(events), coordinator: copy(coordinator), gateUsed: gate.used, + failureUsed, scopedProtection: scenario !== "split-delegate-control", + }; + } finally { + gate.released.resolve(); + try { await bounded(Promise.all(pending), "Final logical cleanup"); await bounded(Promise.all(started), "Final primitive cleanup"); } + finally { globalThis.structuredClone = previousClone; Date.now = previousNow; } + } +} diff --git a/benchmarks/shared-persistent-namespace-ordering/native-fixtures.ts b/benchmarks/shared-persistent-namespace-ordering/native-fixtures.ts new file mode 100644 index 0000000..4fb0f02 --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/native-fixtures.ts @@ -0,0 +1,59 @@ +import { IndexedDbObjectCache, type CachedJsonObject } from "../../src/browser/cache.js"; +import { bounded, currentRuntime, runTrial, type Backend, type Policy } from "./fixtures.js"; +import { runFactoryCase } from "./factory-fixtures.js"; + +export const encryptedScenarios = [ + "concurrent-distinct-sets", "late-set-delete", "late-delete-set", "late-set-clear", + "late-clear-set", "independent-key-progress", "foreign-namespace-progress", "cleanup-failure", +] as const; + +class EncryptedBackend implements Backend { + private readonly name = `p16-native-${crypto.randomUUID()}`; + private readonly namespace = "p16-encrypted-delegate"; + private readonly raw = new IndexedDbObjectCache(this.namespace, this.name); + readonly evidence = { snapshots: 0, rowsChecked: 0, encryptedRowsOnly: true, nonExtractableAesKey: true }; + read(key: string) { return this.raw.get(key); } + write(value: CachedJsonObject) { return this.raw.set(value); } + remove(key: string) { return this.raw.delete(key); } + async snapshot() { + const inspectable = this.raw as unknown as { + database(): Promise; deviceKey(database: IDBDatabase): Promise; + }; + const database = await inspectable.database(); + const rows = await new Promise>((resolve, reject) => { + const request = database.transaction("objects", "readonly").objectStore("objects") + .index("namespace").getAll(IDBKeyRange.only(this.namespace)); + request.onsuccess = () => resolve(request.result); + request.onerror = () => reject(request.error); + }); + const key = await inspectable.deviceKey(database); + this.evidence.snapshots++; + this.evidence.rowsChecked += rows.length; + this.evidence.encryptedRowsOnly &&= rows.every(row => row.iv instanceof ArrayBuffer && row.iv.byteLength === 12 && + row.ciphertext instanceof ArrayBuffer && row.ciphertext.byteLength > 16 && !Object.hasOwn(row, "value")); + this.evidence.nonExtractableAesKey &&= !key.extractable && key.algorithm.name === "AES-GCM"; + return (await Promise.all(rows.map(row => this.raw.get(row.key)))).filter((value): value is CachedJsonObject => value !== null); + } + async dispose() { + try { await this.raw.destroy(); } + finally { this.raw.close(); } + await bounded(new Promise((resolve, reject) => { + const request = indexedDB.deleteDatabase(this.name); + request.onsuccess = () => resolve(); + request.onerror = () => reject(request.error); + request.onblocked = () => reject(new Error("Native fixture database remained open")); + }), "Native fixture database deletion"); + } +} +export async function runEncryptedScenario(scenario: typeof encryptedScenarios[number], policy: Policy) { + const backend = new EncryptedBackend(); + try { + const result = await runTrial(currentRuntime, scenario, policy, "head", 2, { backend }); + return { ...result, encryption: backend.evidence }; + } finally { await backend.dispose(); } +} +export async function runEncryptedFactory(policy: Policy) { + const backend = new EncryptedBackend(); + try { return { ...await runFactoryCase(policy, backend), encryption: backend.evidence }; } + finally { await backend.dispose(); } +} diff --git a/benchmarks/shared-persistent-namespace-ordering/protocol.json b/benchmarks/shared-persistent-namespace-ordering/protocol.json new file mode 100644 index 0000000..0c7d432 --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/protocol.json @@ -0,0 +1,118 @@ +{ + "schemaVersion": 1, + "experiment": "P16: shared custom-persistent namespace coordination", + "baseline": "e615fda1ef8c091070e9c2970fa86ffe7b32e887", + "scope": "NamespacedPersistentObjectCache wrappers from one loaded module sharing the exact same immediate delegate object and encoded namespace; no cross-tab, different-module-copy, distinct-delegate-identity, direct-delegate, read-linearizability, shared-memory-fencing or durable-logout guarantee", + "hypothesis": "Shared active-only per-namespace coordination can preserve registry membership and completed persistent state across cooperating wrappers, without serialising unrelated payload keys or foreign namespaces", + "discovery": "All 12 discovery cases lost one of two registry members after concurrent distinct-key writes through separate wrappers sharing one delegate. After both writes completed, a later clear left one readable orphan. Map and real-WebCrypto/fake-IndexedDB delegates reproduced this under both policies with three replicates; foreign namespace data and error counters remained correct.", + "rules": [ + "Serialise registry read-modify-write work across wrappers sharing one immediate delegate object and encoded namespace", + "Order complete same-key set/delete operations after their earlier same-key predecessors; namespace clear/destroy waits for earlier mutations and later mutations wait for the cleanup", + "Unrelated payload keys and foreign encoded namespaces remain independently runnable while a payload operation is held", + "Cleanup waits for every already-started child delete to settle even after a failure, retains the registry on failure and rejects with the first observed original reason; a synchronous throw stops further child starts but still drains earlier starts", + "Failed predecessors do not poison later admitted work; preserve set/delete/clear fallback, destroy rejection and per-tiered-instance policy/admission behaviour", + "Keep the existing registry key, sorted string-array value, namespace encoding, payload values, method calls, options and formats; no retry, new input copy, public test hook, dependency or storage schema", + "Coordinate active work only; release idle namespace/key/barrier state and delegate associations without retaining historical namespaces or keys", + "Preserve immediate tiered memory changes and read invalidation; reads are not gated by the new scheduler", + "Cache-entry inputs must remain stable until set settles, delegates must return accurate completion promises and must not await recursive mutations into the same coordination domain", + "The built-in default IndexedDB path is unchanged; bounded custom IndexedDB delegates remain rejected", + "Do not infer cross-context protection from object identity; distinct delegate objects over one backing store remain explicitly uncoordinated", + "Do not repair arbitrary malformed registry records, reserve a new key namespace or change the existing internal registry-key collision boundary" + ], + "matrix": { + "policies": ["content", "locations"], + "shapes": ["head", "branch"], + "callers": [2, 4], + "replicates": 3, + "scenarios": [ + "concurrent-distinct-sets", + "concurrent-distinct-deletes", + "late-set-delete", + "late-delete-set", + "late-set-clear", + "late-set-destroy", + "late-clear-set", + "late-destroy-set", + "cross-wrapper-barrier-chain", + "independent-key-progress", + "foreign-namespace-progress", + "sequential-reuse", + "registry-failure", + "payload-failure", + "cleanup-failure", + "split-delegate-control" + ], + "orderingRecipes": [ + "concurrent-distinct-sets", "concurrent-distinct-deletes", + "late-set-delete", "late-delete-set", "late-set-clear", "late-set-destroy", + "late-clear-set", "late-destroy-set", "cross-wrapper-barrier-chain", + "cleanup-failure" + ], + "controls": [ + "independent-key-progress", "foreign-namespace-progress", "sequential-reuse", + "registry-failure", "payload-failure", "split-delegate-control" + ], + "trialsPerArm": 384, + "memory": { "maxEntries": 64, "maxBytes": 1048576 }, + "transport": "No network or actual persistence in the comparative matrix; a clone-owning asynchronous map delegate records primitive snapshot reads and committed writes/deletes. Real encrypted IndexedDB and the connection factory are qualified separately in native browsers.", + "ordering": "Fresh delegates and wrappers per trial. Alternate baseline/candidate order by every dimension. Hold selected primitive payload operations before commit, admit subsequent logical operations, drain 128 promise microtask turns, then release the held operation and await all logical and started primitive work. Independence controls must complete the unrelated work before release instead of relying on the turn count.", + "expectedState": "Compare registry and payload state with a separate admission-order logical model, including intentional partial-write tracking after failures. Capture post-settlement cold reads after clearing every participating memory instance. The split-identity control deliberately retains its uncoordinated lost-membership outcome and does not qualify race protection.", + "measurement": "Record logical admissions/outcomes, every primitive start/read snapshot/commit/failure/finish, gate/release checkpoints, immediate memory/copy work and metrics, actual and expected full logical stores, cold returns, active coordination snapshots, call counts and pair gates. Exclude fixture cloning and inspection from memory-tier clone counts.", + "baselineExpectation": "The historical module must reproduce lost registry membership in every concurrent-distinct-sets trial. Other historical outcomes are reported as observed; do not relabel an already-correct ordering recipe as a measured improvement.", + "timers": "Diagnostic deadlines only. Fixed microtask checkpoints describe controlled schedules, not elapsed-time measurements. No latency, throughput, heap, GC timing, provider-cost or production-frequency inference." + }, + "hardGates": [ + "All candidate trials satisfy their declared persistent registry/payload, immediate memory, cold-return, failure/reuse and isolation contracts", + "Historical concurrent-distinct-sets reproduces missing registry members after all writes settle, then leaves readable data after a fresh wrapper clears that namespace", + "All primitive events replay independently to the recorded store; reads return their captured snapshots and every started primitive eventually finishes", + "Ordinary sequential set/get/delete and factory controls retain exact primitive call counts and memory-tier copy work; changed cleanup work is reported rather than assumed equal", + "Same-key work and namespace barriers preserve admission order across cooperating wrappers; independent-key and foreign-namespace payload work completes before the held operation is released", + "Cleanup failure cannot let an old pending child delete remove a later cooperating replacement; preserve rejection reason, retryable registry tracking and later progress", + "Active coordination records do not exceed admitted unsettled work and are absent at quiescence, including after 1000 distinct namespace lifecycles and failure recovery", + "Focused tests cover direct wrappers, empty/special/Unicode keys, malformed-registry compatibility, synchronously throwing delegates, post-commit promise delay, disabled policy, memory-only use and unchanged default/bounded-delegate factory behaviour", + "Each of Chromium, Firefox and WebKit passes eight selected real encrypted-IndexedDB schedules under both policies plus both-policy connection-factory integration", + "Existing mutation ordering, corrupt cleanup, hydration, namespace, memory admission, ownership, failure, client, connection and publication controls, types, package and canonical documentation pass; full exact-head normal CI remains required", + "Publish this protocol before production edits. Commit and push source/collector before an actual detached comparative capture. Preserve every raw capture, CSV and graph without overwrite." + ], + "native": { + "scenarios": [ + "concurrent-distinct-sets", "late-set-delete", "late-delete-set", + "late-set-clear", "late-clear-set", "independent-key-progress", + "foreign-namespace-progress", "cleanup-failure" + ], + "policies": ["content", "locations"], + "callers": 2, + "shape": "head", + "engines": ["chromium", "firefox", "webkit"], + "encryptedSchedules": 48, + "connectionFactoryCases": 6, + "total": 54, + "boundary": "Unbounded custom IndexedDB delegates, fresh unique databases, same loaded cache module and delegate identity. Windows WebKit does not qualify Apple Safari." + }, + "mergeDecision": { + "threshold": 85, + "allHardGatesMandatory": true, + "weights": { + "namespaceCorrectness": 40, + "concurrencyAndFailureCompatibility": 25, + "reproducibleEvidence": 20, + "scopeAndSimplicity": 15 + }, + "benefitCriterion": "Prevent settled cooperating writes from becoming untracked and preserve scoped cleanup ordering, without global payload serialisation or new storage calls on ordinary operations", + "claimBoundary": "Custom persistent wrappers with identical immediate delegate identity only. Shared registry head-of-line blocking, pending entry retention and failure-drain delay are real costs. No cross-tab consistency, cancellation, input ownership, durable logout, arbitrary-record repair or measured speed benefit." + }, + "limits": { + "network": false, + "maximumPrimitiveCalls": 50000, + "maximumRunMinutes": 5, + "operationDeadlineMilliseconds": 5000, + "microtaskCheckpointTurns": 128, + "overwriteEvidence": false + }, + "sources": [ + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", + "https://developer.mozilla.org/en-US/docs/Web/API/Web_Locks_API", + "https://github.com/Jason-Doyle/thimble/blob/e615fda1ef8c091070e9c2970fa86ffe7b32e887/src/browser/cache.ts", + "https://github.com/Jason-Doyle/thimble/blob/e615fda1ef8c091070e9c2970fa86ffe7b32e887/src/browser/connect.ts" + ] +} diff --git a/benchmarks/shared-persistent-namespace-ordering/results/local-2026-12-03-contracts.svg b/benchmarks/shared-persistent-namespace-ordering/results/local-2026-12-03-contracts.svg new file mode 100644 index 0000000..b1a395f --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/results/local-2026-12-03-contracts.svg @@ -0,0 +1,25 @@ + +Shared persistent namespace contract outcomes +Declared contract passes out of 24 trials per arm and recipe. Baseline is upper red; candidate is lower green. Split-delegate-control passes by retaining the explicitly uncoordinated orphan outcome. + +Declared persistent, memory and ordering contracts +Baseline (upper, red); candidate (lower, green). Controlled schedules, no timing inference. +concurrent-distinct-sets0/2424/24 +concurrent-distinct-deletes0/2424/24 +late-set-delete0/2424/24 +late-delete-set0/2424/24 +late-set-clear0/2424/24 +late-set-destroy0/2424/24 +late-clear-set0/2424/24 +late-destroy-set0/2424/24 +cross-wrapper-barrier-chain0/2424/24 +independent-key-progress24/2424/24 +foreign-namespace-progress24/2424/24 +sequential-reuse24/2424/24 +registry-failure24/2424/24 +payload-failure0/2424/24 +cleanup-failure0/2424/24 +split-delegate-control24/2424/24 +Split-delegate-control intentionally retains lost membership and readable orphans. +Source: paired raw event/state rows. Same immediate delegate identity and loaded module only. + diff --git a/benchmarks/shared-persistent-namespace-ordering/results/local-2026-12-03-trials.csv b/benchmarks/shared-persistent-namespace-ordering/results/local-2026-12-03-trials.csv new file mode 100644 index 0000000..d3a25a6 --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/results/local-2026-12-03-trials.csv @@ -0,0 +1,769 @@ +"arm","scenario","policy","shape","callers","replicate","correct","stateCorrect","coldCorrect","conflictingBlocked","progress","resourcesClean","resourcesBound","workPrimitives","allPrimitives","registryReads","registryWrites","payloadWrites","payloadDeletes","registryDeletes","failures","workClones","workCloneInputBytes","peakActive","peakKeys" +"baseline","concurrent-distinct-sets","content","head","2","0","false","false","false","true","true","true","true","6","16","2","2","2","0","0","0","2","274","0","0" +"candidate","concurrent-distinct-sets","content","head","2","0","true","true","true","true","true","true","true","6","17","2","2","2","0","0","0","2","274","2","2" +"candidate","concurrent-distinct-sets","content","head","2","1","true","true","true","true","true","true","true","6","17","2","2","2","0","0","0","2","274","2","2" +"baseline","concurrent-distinct-sets","content","head","2","1","false","false","false","true","true","true","true","6","16","2","2","2","0","0","0","2","274","0","0" +"baseline","concurrent-distinct-sets","content","head","2","2","false","false","false","true","true","true","true","6","16","2","2","2","0","0","0","2","274","0","0" +"candidate","concurrent-distinct-sets","content","head","2","2","true","true","true","true","true","true","true","6","17","2","2","2","0","0","0","2","274","2","2" +"candidate","concurrent-distinct-sets","content","head","4","0","true","true","true","true","true","true","true","12","29","4","4","4","0","0","0","4","548","4","4" +"baseline","concurrent-distinct-sets","content","head","4","0","false","false","false","true","true","true","true","12","26","4","4","4","0","0","0","4","548","0","0" +"baseline","concurrent-distinct-sets","content","head","4","1","false","false","false","true","true","true","true","12","26","4","4","4","0","0","0","4","548","0","0" +"candidate","concurrent-distinct-sets","content","head","4","1","true","true","true","true","true","true","true","12","29","4","4","4","0","0","0","4","548","4","4" +"candidate","concurrent-distinct-sets","content","head","4","2","true","true","true","true","true","true","true","12","29","4","4","4","0","0","0","4","548","4","4" +"baseline","concurrent-distinct-sets","content","head","4","2","false","false","false","true","true","true","true","12","26","4","4","4","0","0","0","4","548","0","0" +"candidate","concurrent-distinct-sets","content","branch","2","0","true","true","true","true","true","true","true","6","17","2","2","2","0","0","0","2","328","2","2" +"baseline","concurrent-distinct-sets","content","branch","2","0","false","false","false","true","true","true","true","6","16","2","2","2","0","0","0","2","328","0","0" +"baseline","concurrent-distinct-sets","content","branch","2","1","false","false","false","true","true","true","true","6","16","2","2","2","0","0","0","2","328","0","0" +"candidate","concurrent-distinct-sets","content","branch","2","1","true","true","true","true","true","true","true","6","17","2","2","2","0","0","0","2","328","2","2" +"candidate","concurrent-distinct-sets","content","branch","2","2","true","true","true","true","true","true","true","6","17","2","2","2","0","0","0","2","328","2","2" +"baseline","concurrent-distinct-sets","content","branch","2","2","false","false","false","true","true","true","true","6","16","2","2","2","0","0","0","2","328","0","0" +"baseline","concurrent-distinct-sets","content","branch","4","0","false","false","false","true","true","true","true","12","26","4","4","4","0","0","0","4","656","0","0" +"candidate","concurrent-distinct-sets","content","branch","4","0","true","true","true","true","true","true","true","12","29","4","4","4","0","0","0","4","656","4","4" +"candidate","concurrent-distinct-sets","content","branch","4","1","true","true","true","true","true","true","true","12","29","4","4","4","0","0","0","4","656","4","4" +"baseline","concurrent-distinct-sets","content","branch","4","1","false","false","false","true","true","true","true","12","26","4","4","4","0","0","0","4","656","0","0" +"baseline","concurrent-distinct-sets","content","branch","4","2","false","false","false","true","true","true","true","12","26","4","4","4","0","0","0","4","656","0","0" +"candidate","concurrent-distinct-sets","content","branch","4","2","true","true","true","true","true","true","true","12","29","4","4","4","0","0","0","4","656","4","4" +"candidate","concurrent-distinct-sets","locations","head","2","0","true","true","true","true","true","true","true","6","17","2","2","2","0","0","0","2","274","2","2" +"baseline","concurrent-distinct-sets","locations","head","2","0","false","false","false","true","true","true","true","6","16","2","2","2","0","0","0","2","274","0","0" +"baseline","concurrent-distinct-sets","locations","head","2","1","false","false","false","true","true","true","true","6","16","2","2","2","0","0","0","2","274","0","0" +"candidate","concurrent-distinct-sets","locations","head","2","1","true","true","true","true","true","true","true","6","17","2","2","2","0","0","0","2","274","2","2" +"candidate","concurrent-distinct-sets","locations","head","2","2","true","true","true","true","true","true","true","6","17","2","2","2","0","0","0","2","274","2","2" +"baseline","concurrent-distinct-sets","locations","head","2","2","false","false","false","true","true","true","true","6","16","2","2","2","0","0","0","2","274","0","0" +"baseline","concurrent-distinct-sets","locations","head","4","0","false","false","false","true","true","true","true","12","26","4","4","4","0","0","0","4","548","0","0" +"candidate","concurrent-distinct-sets","locations","head","4","0","true","true","true","true","true","true","true","12","29","4","4","4","0","0","0","4","548","4","4" +"candidate","concurrent-distinct-sets","locations","head","4","1","true","true","true","true","true","true","true","12","29","4","4","4","0","0","0","4","548","4","4" +"baseline","concurrent-distinct-sets","locations","head","4","1","false","false","false","true","true","true","true","12","26","4","4","4","0","0","0","4","548","0","0" +"baseline","concurrent-distinct-sets","locations","head","4","2","false","false","false","true","true","true","true","12","26","4","4","4","0","0","0","4","548","0","0" +"candidate","concurrent-distinct-sets","locations","head","4","2","true","true","true","true","true","true","true","12","29","4","4","4","0","0","0","4","548","4","4" +"baseline","concurrent-distinct-sets","locations","branch","2","0","false","false","false","true","true","true","true","6","16","2","2","2","0","0","0","2","328","0","0" +"candidate","concurrent-distinct-sets","locations","branch","2","0","true","true","true","true","true","true","true","6","17","2","2","2","0","0","0","2","328","2","2" +"candidate","concurrent-distinct-sets","locations","branch","2","1","true","true","true","true","true","true","true","6","17","2","2","2","0","0","0","2","328","2","2" +"baseline","concurrent-distinct-sets","locations","branch","2","1","false","false","false","true","true","true","true","6","16","2","2","2","0","0","0","2","328","0","0" +"baseline","concurrent-distinct-sets","locations","branch","2","2","false","false","false","true","true","true","true","6","16","2","2","2","0","0","0","2","328","0","0" +"candidate","concurrent-distinct-sets","locations","branch","2","2","true","true","true","true","true","true","true","6","17","2","2","2","0","0","0","2","328","2","2" +"candidate","concurrent-distinct-sets","locations","branch","4","0","true","true","true","true","true","true","true","12","29","4","4","4","0","0","0","4","656","4","4" +"baseline","concurrent-distinct-sets","locations","branch","4","0","false","false","false","true","true","true","true","12","26","4","4","4","0","0","0","4","656","0","0" +"baseline","concurrent-distinct-sets","locations","branch","4","1","false","false","false","true","true","true","true","12","26","4","4","4","0","0","0","4","656","0","0" +"candidate","concurrent-distinct-sets","locations","branch","4","1","true","true","true","true","true","true","true","12","29","4","4","4","0","0","0","4","656","4","4" +"candidate","concurrent-distinct-sets","locations","branch","4","2","true","true","true","true","true","true","true","12","29","4","4","4","0","0","0","4","656","4","4" +"baseline","concurrent-distinct-sets","locations","branch","4","2","false","false","false","true","true","true","true","12","26","4","4","4","0","0","0","4","656","0","0" +"candidate","concurrent-distinct-deletes","content","head","2","0","true","true","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","2","2" +"baseline","concurrent-distinct-deletes","content","head","2","0","false","false","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","0","0" +"baseline","concurrent-distinct-deletes","content","head","2","1","false","false","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","0","0" +"candidate","concurrent-distinct-deletes","content","head","2","1","true","true","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","2","2" +"candidate","concurrent-distinct-deletes","content","head","2","2","true","true","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","2","2" +"baseline","concurrent-distinct-deletes","content","head","2","2","false","false","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","0","0" +"baseline","concurrent-distinct-deletes","content","head","4","0","false","false","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","0","0" +"candidate","concurrent-distinct-deletes","content","head","4","0","true","true","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","4","4" +"candidate","concurrent-distinct-deletes","content","head","4","1","true","true","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","4","4" +"baseline","concurrent-distinct-deletes","content","head","4","1","false","false","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","0","0" +"baseline","concurrent-distinct-deletes","content","head","4","2","false","false","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","0","0" +"candidate","concurrent-distinct-deletes","content","head","4","2","true","true","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","4","4" +"baseline","concurrent-distinct-deletes","content","branch","2","0","false","false","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","0","0" +"candidate","concurrent-distinct-deletes","content","branch","2","0","true","true","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","2","2" +"candidate","concurrent-distinct-deletes","content","branch","2","1","true","true","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","2","2" +"baseline","concurrent-distinct-deletes","content","branch","2","1","false","false","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","0","0" +"baseline","concurrent-distinct-deletes","content","branch","2","2","false","false","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","0","0" +"candidate","concurrent-distinct-deletes","content","branch","2","2","true","true","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","2","2" +"candidate","concurrent-distinct-deletes","content","branch","4","0","true","true","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","4","4" +"baseline","concurrent-distinct-deletes","content","branch","4","0","false","false","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","0","0" +"baseline","concurrent-distinct-deletes","content","branch","4","1","false","false","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","0","0" +"candidate","concurrent-distinct-deletes","content","branch","4","1","true","true","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","4","4" +"candidate","concurrent-distinct-deletes","content","branch","4","2","true","true","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","4","4" +"baseline","concurrent-distinct-deletes","content","branch","4","2","false","false","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","0","0" +"baseline","concurrent-distinct-deletes","locations","head","2","0","false","false","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","0","0" +"candidate","concurrent-distinct-deletes","locations","head","2","0","true","true","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","2","2" +"candidate","concurrent-distinct-deletes","locations","head","2","1","true","true","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","2","2" +"baseline","concurrent-distinct-deletes","locations","head","2","1","false","false","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","0","0" +"baseline","concurrent-distinct-deletes","locations","head","2","2","false","false","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","0","0" +"candidate","concurrent-distinct-deletes","locations","head","2","2","true","true","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","2","2" +"candidate","concurrent-distinct-deletes","locations","head","4","0","true","true","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","4","4" +"baseline","concurrent-distinct-deletes","locations","head","4","0","false","false","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","0","0" +"baseline","concurrent-distinct-deletes","locations","head","4","1","false","false","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","0","0" +"candidate","concurrent-distinct-deletes","locations","head","4","1","true","true","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","4","4" +"candidate","concurrent-distinct-deletes","locations","head","4","2","true","true","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","4","4" +"baseline","concurrent-distinct-deletes","locations","head","4","2","false","false","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","0","0" +"candidate","concurrent-distinct-deletes","locations","branch","2","0","true","true","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","2","2" +"baseline","concurrent-distinct-deletes","locations","branch","2","0","false","false","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","0","0" +"baseline","concurrent-distinct-deletes","locations","branch","2","1","false","false","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","0","0" +"candidate","concurrent-distinct-deletes","locations","branch","2","1","true","true","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","2","2" +"candidate","concurrent-distinct-deletes","locations","branch","2","2","true","true","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","2","2" +"baseline","concurrent-distinct-deletes","locations","branch","2","2","false","false","true","true","true","true","true","6","9","2","2","0","2","0","0","0","0","0","0" +"baseline","concurrent-distinct-deletes","locations","branch","4","0","false","false","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","0","0" +"candidate","concurrent-distinct-deletes","locations","branch","4","0","true","true","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","4","4" +"candidate","concurrent-distinct-deletes","locations","branch","4","1","true","true","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","4","4" +"baseline","concurrent-distinct-deletes","locations","branch","4","1","false","false","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","0","0" +"baseline","concurrent-distinct-deletes","locations","branch","4","2","false","false","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","0","0" +"candidate","concurrent-distinct-deletes","locations","branch","4","2","true","true","true","true","true","true","true","12","17","4","4","0","4","0","0","0","0","4","4" +"baseline","late-set-delete","content","head","2","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-set-delete","content","head","2","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"candidate","late-set-delete","content","head","2","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-set-delete","content","head","2","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"baseline","late-set-delete","content","head","2","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-set-delete","content","head","2","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"candidate","late-set-delete","content","head","4","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-set-delete","content","head","4","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"baseline","late-set-delete","content","head","4","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-set-delete","content","head","4","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"candidate","late-set-delete","content","head","4","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-set-delete","content","head","4","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-set-delete","content","branch","2","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"baseline","late-set-delete","content","branch","2","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"baseline","late-set-delete","content","branch","2","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"candidate","late-set-delete","content","branch","2","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"candidate","late-set-delete","content","branch","2","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"baseline","late-set-delete","content","branch","2","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"baseline","late-set-delete","content","branch","4","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"candidate","late-set-delete","content","branch","4","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"candidate","late-set-delete","content","branch","4","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"baseline","late-set-delete","content","branch","4","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"baseline","late-set-delete","content","branch","4","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"candidate","late-set-delete","content","branch","4","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"candidate","late-set-delete","locations","head","2","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-set-delete","locations","head","2","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"baseline","late-set-delete","locations","head","2","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-set-delete","locations","head","2","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"candidate","late-set-delete","locations","head","2","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-set-delete","locations","head","2","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"baseline","late-set-delete","locations","head","4","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-set-delete","locations","head","4","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"candidate","late-set-delete","locations","head","4","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-set-delete","locations","head","4","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"baseline","late-set-delete","locations","head","4","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-set-delete","locations","head","4","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-set-delete","locations","branch","2","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"candidate","late-set-delete","locations","branch","2","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"candidate","late-set-delete","locations","branch","2","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"baseline","late-set-delete","locations","branch","2","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"baseline","late-set-delete","locations","branch","2","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"candidate","late-set-delete","locations","branch","2","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"candidate","late-set-delete","locations","branch","4","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"baseline","late-set-delete","locations","branch","4","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"baseline","late-set-delete","locations","branch","4","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"candidate","late-set-delete","locations","branch","4","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"candidate","late-set-delete","locations","branch","4","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"baseline","late-set-delete","locations","branch","4","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"candidate","late-delete-set","content","head","2","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-delete-set","content","head","2","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"baseline","late-delete-set","content","head","2","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-delete-set","content","head","2","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"candidate","late-delete-set","content","head","2","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-delete-set","content","head","2","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"baseline","late-delete-set","content","head","4","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-delete-set","content","head","4","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"candidate","late-delete-set","content","head","4","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-delete-set","content","head","4","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"baseline","late-delete-set","content","head","4","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-delete-set","content","head","4","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-delete-set","content","branch","2","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"candidate","late-delete-set","content","branch","2","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"candidate","late-delete-set","content","branch","2","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"baseline","late-delete-set","content","branch","2","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"baseline","late-delete-set","content","branch","2","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"candidate","late-delete-set","content","branch","2","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"candidate","late-delete-set","content","branch","4","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"baseline","late-delete-set","content","branch","4","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"baseline","late-delete-set","content","branch","4","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"candidate","late-delete-set","content","branch","4","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"candidate","late-delete-set","content","branch","4","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"baseline","late-delete-set","content","branch","4","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"baseline","late-delete-set","locations","head","2","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-delete-set","locations","head","2","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"candidate","late-delete-set","locations","head","2","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-delete-set","locations","head","2","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"baseline","late-delete-set","locations","head","2","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-delete-set","locations","head","2","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"candidate","late-delete-set","locations","head","4","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-delete-set","locations","head","4","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"baseline","late-delete-set","locations","head","4","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-delete-set","locations","head","4","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"candidate","late-delete-set","locations","head","4","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","137","2","1" +"baseline","late-delete-set","locations","head","4","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","137","0","0" +"candidate","late-delete-set","locations","branch","2","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"baseline","late-delete-set","locations","branch","2","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"baseline","late-delete-set","locations","branch","2","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"candidate","late-delete-set","locations","branch","2","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"candidate","late-delete-set","locations","branch","2","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"baseline","late-delete-set","locations","branch","2","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"baseline","late-delete-set","locations","branch","4","0","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"candidate","late-delete-set","locations","branch","4","0","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"candidate","late-delete-set","locations","branch","4","1","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"baseline","late-delete-set","locations","branch","4","1","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"baseline","late-delete-set","locations","branch","4","2","false","false","false","false","true","true","true","6","8","2","2","1","1","0","0","1","164","0","0" +"candidate","late-delete-set","locations","branch","4","2","true","true","true","true","true","true","true","6","8","2","2","1","1","0","0","1","164","2","1" +"baseline","late-set-clear","content","head","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-clear","content","head","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-set-clear","content","head","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-clear","content","head","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-set-clear","content","head","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-clear","content","head","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-set-clear","content","head","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-clear","content","head","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-set-clear","content","head","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-clear","content","head","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-set-clear","content","head","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-clear","content","head","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-clear","content","branch","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-set-clear","content","branch","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-set-clear","content","branch","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-set-clear","content","branch","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-set-clear","content","branch","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-set-clear","content","branch","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-set-clear","content","branch","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-set-clear","content","branch","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-set-clear","content","branch","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-set-clear","content","branch","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-set-clear","content","branch","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-set-clear","content","branch","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-set-clear","locations","head","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-clear","locations","head","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-set-clear","locations","head","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-clear","locations","head","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-set-clear","locations","head","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-clear","locations","head","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-set-clear","locations","head","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-clear","locations","head","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-set-clear","locations","head","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-clear","locations","head","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-set-clear","locations","head","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-clear","locations","head","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-clear","locations","branch","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-set-clear","locations","branch","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-set-clear","locations","branch","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-set-clear","locations","branch","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-set-clear","locations","branch","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-set-clear","locations","branch","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-set-clear","locations","branch","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-set-clear","locations","branch","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-set-clear","locations","branch","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-set-clear","locations","branch","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-set-clear","locations","branch","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-set-clear","locations","branch","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-set-destroy","content","head","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-destroy","content","head","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-set-destroy","content","head","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-destroy","content","head","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-set-destroy","content","head","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-destroy","content","head","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-set-destroy","content","head","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-destroy","content","head","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-set-destroy","content","head","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-destroy","content","head","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-set-destroy","content","head","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-destroy","content","head","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-destroy","content","branch","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-set-destroy","content","branch","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-set-destroy","content","branch","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-set-destroy","content","branch","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-set-destroy","content","branch","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-set-destroy","content","branch","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-set-destroy","content","branch","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-set-destroy","content","branch","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-set-destroy","content","branch","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-set-destroy","content","branch","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-set-destroy","content","branch","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-set-destroy","content","branch","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-set-destroy","locations","head","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-destroy","locations","head","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-set-destroy","locations","head","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-destroy","locations","head","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-set-destroy","locations","head","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-destroy","locations","head","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-set-destroy","locations","head","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-destroy","locations","head","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-set-destroy","locations","head","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-destroy","locations","head","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-set-destroy","locations","head","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-set-destroy","locations","head","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-set-destroy","locations","branch","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-set-destroy","locations","branch","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-set-destroy","locations","branch","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-set-destroy","locations","branch","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-set-destroy","locations","branch","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-set-destroy","locations","branch","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-set-destroy","locations","branch","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-set-destroy","locations","branch","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-set-destroy","locations","branch","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-set-destroy","locations","branch","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-set-destroy","locations","branch","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-set-destroy","locations","branch","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-clear-set","content","head","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-clear-set","content","head","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-clear-set","content","head","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-clear-set","content","head","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-clear-set","content","head","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-clear-set","content","head","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-clear-set","content","head","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-clear-set","content","head","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-clear-set","content","head","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-clear-set","content","head","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-clear-set","content","head","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-clear-set","content","head","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-clear-set","content","branch","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-clear-set","content","branch","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-clear-set","content","branch","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-clear-set","content","branch","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-clear-set","content","branch","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-clear-set","content","branch","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-clear-set","content","branch","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-clear-set","content","branch","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-clear-set","content","branch","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-clear-set","content","branch","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-clear-set","content","branch","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-clear-set","content","branch","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-clear-set","locations","head","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-clear-set","locations","head","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-clear-set","locations","head","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-clear-set","locations","head","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-clear-set","locations","head","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-clear-set","locations","head","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-clear-set","locations","head","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-clear-set","locations","head","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-clear-set","locations","head","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-clear-set","locations","head","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-clear-set","locations","head","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-clear-set","locations","head","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-clear-set","locations","branch","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-clear-set","locations","branch","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-clear-set","locations","branch","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-clear-set","locations","branch","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-clear-set","locations","branch","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-clear-set","locations","branch","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-clear-set","locations","branch","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-clear-set","locations","branch","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-clear-set","locations","branch","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-clear-set","locations","branch","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-clear-set","locations","branch","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-clear-set","locations","branch","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-destroy-set","content","head","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-destroy-set","content","head","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-destroy-set","content","head","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-destroy-set","content","head","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-destroy-set","content","head","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-destroy-set","content","head","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-destroy-set","content","head","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-destroy-set","content","head","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-destroy-set","content","head","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-destroy-set","content","head","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-destroy-set","content","head","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-destroy-set","content","head","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-destroy-set","content","branch","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-destroy-set","content","branch","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-destroy-set","content","branch","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-destroy-set","content","branch","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-destroy-set","content","branch","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-destroy-set","content","branch","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-destroy-set","content","branch","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-destroy-set","content","branch","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-destroy-set","content","branch","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-destroy-set","content","branch","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-destroy-set","content","branch","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-destroy-set","content","branch","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-destroy-set","locations","head","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-destroy-set","locations","head","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-destroy-set","locations","head","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-destroy-set","locations","head","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-destroy-set","locations","head","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-destroy-set","locations","head","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-destroy-set","locations","head","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-destroy-set","locations","head","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"baseline","late-destroy-set","locations","head","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-destroy-set","locations","head","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"candidate","late-destroy-set","locations","head","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","137","2","1" +"baseline","late-destroy-set","locations","head","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","137","0","0" +"candidate","late-destroy-set","locations","branch","2","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-destroy-set","locations","branch","2","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-destroy-set","locations","branch","2","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-destroy-set","locations","branch","2","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-destroy-set","locations","branch","2","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-destroy-set","locations","branch","2","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-destroy-set","locations","branch","4","0","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-destroy-set","locations","branch","4","0","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"candidate","late-destroy-set","locations","branch","4","1","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","late-destroy-set","locations","branch","4","1","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"baseline","late-destroy-set","locations","branch","4","2","false","false","false","false","true","true","true","7","9","2","1","1","2","1","0","1","164","0","0" +"candidate","late-destroy-set","locations","branch","4","2","true","true","true","true","true","true","true","7","9","2","1","1","2","1","0","1","164","2","1" +"baseline","cross-wrapper-barrier-chain","content","head","2","0","false","true","true","false","true","true","true","15","17","5","3","3","2","2","0","3","411","0","0" +"candidate","cross-wrapper-barrier-chain","content","head","2","0","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","411","2","1" +"candidate","cross-wrapper-barrier-chain","content","head","2","1","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","411","2","1" +"baseline","cross-wrapper-barrier-chain","content","head","2","1","false","true","true","false","true","true","true","15","17","5","3","3","2","2","0","3","411","0","0" +"baseline","cross-wrapper-barrier-chain","content","head","2","2","false","true","true","false","true","true","true","15","17","5","3","3","2","2","0","3","411","0","0" +"candidate","cross-wrapper-barrier-chain","content","head","2","2","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","411","2","1" +"candidate","cross-wrapper-barrier-chain","content","head","4","0","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","411","4","1" +"baseline","cross-wrapper-barrier-chain","content","head","4","0","false","true","true","false","true","true","true","17","19","5","3","3","4","2","0","3","411","0","0" +"baseline","cross-wrapper-barrier-chain","content","head","4","1","false","true","true","false","true","true","true","17","19","5","3","3","4","2","0","3","411","0","0" +"candidate","cross-wrapper-barrier-chain","content","head","4","1","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","411","4","1" +"candidate","cross-wrapper-barrier-chain","content","head","4","2","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","411","4","1" +"baseline","cross-wrapper-barrier-chain","content","head","4","2","false","true","true","false","true","true","true","17","19","5","3","3","4","2","0","3","411","0","0" +"candidate","cross-wrapper-barrier-chain","content","branch","2","0","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","492","2","1" +"baseline","cross-wrapper-barrier-chain","content","branch","2","0","false","true","true","false","true","true","true","15","17","5","3","3","2","2","0","3","492","0","0" +"baseline","cross-wrapper-barrier-chain","content","branch","2","1","false","true","true","false","true","true","true","15","17","5","3","3","2","2","0","3","492","0","0" +"candidate","cross-wrapper-barrier-chain","content","branch","2","1","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","492","2","1" +"candidate","cross-wrapper-barrier-chain","content","branch","2","2","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","492","2","1" +"baseline","cross-wrapper-barrier-chain","content","branch","2","2","false","true","true","false","true","true","true","15","17","5","3","3","2","2","0","3","492","0","0" +"baseline","cross-wrapper-barrier-chain","content","branch","4","0","false","true","true","false","true","true","true","17","19","5","3","3","4","2","0","3","492","0","0" +"candidate","cross-wrapper-barrier-chain","content","branch","4","0","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","492","4","1" +"candidate","cross-wrapper-barrier-chain","content","branch","4","1","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","492","4","1" +"baseline","cross-wrapper-barrier-chain","content","branch","4","1","false","true","true","false","true","true","true","17","19","5","3","3","4","2","0","3","492","0","0" +"baseline","cross-wrapper-barrier-chain","content","branch","4","2","false","true","true","false","true","true","true","17","19","5","3","3","4","2","0","3","492","0","0" +"candidate","cross-wrapper-barrier-chain","content","branch","4","2","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","492","4","1" +"candidate","cross-wrapper-barrier-chain","locations","head","2","0","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","411","2","1" +"baseline","cross-wrapper-barrier-chain","locations","head","2","0","false","true","true","false","true","true","true","15","17","5","3","3","2","2","0","3","411","0","0" +"baseline","cross-wrapper-barrier-chain","locations","head","2","1","false","true","true","false","true","true","true","15","17","5","3","3","2","2","0","3","411","0","0" +"candidate","cross-wrapper-barrier-chain","locations","head","2","1","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","411","2","1" +"candidate","cross-wrapper-barrier-chain","locations","head","2","2","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","411","2","1" +"baseline","cross-wrapper-barrier-chain","locations","head","2","2","false","true","true","false","true","true","true","15","17","5","3","3","2","2","0","3","411","0","0" +"baseline","cross-wrapper-barrier-chain","locations","head","4","0","false","true","true","false","true","true","true","17","19","5","3","3","4","2","0","3","411","0","0" +"candidate","cross-wrapper-barrier-chain","locations","head","4","0","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","411","4","1" +"candidate","cross-wrapper-barrier-chain","locations","head","4","1","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","411","4","1" +"baseline","cross-wrapper-barrier-chain","locations","head","4","1","false","true","true","false","true","true","true","17","19","5","3","3","4","2","0","3","411","0","0" +"baseline","cross-wrapper-barrier-chain","locations","head","4","2","false","true","true","false","true","true","true","17","19","5","3","3","4","2","0","3","411","0","0" +"candidate","cross-wrapper-barrier-chain","locations","head","4","2","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","411","4","1" +"baseline","cross-wrapper-barrier-chain","locations","branch","2","0","false","true","true","false","true","true","true","15","17","5","3","3","2","2","0","3","492","0","0" +"candidate","cross-wrapper-barrier-chain","locations","branch","2","0","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","492","2","1" +"candidate","cross-wrapper-barrier-chain","locations","branch","2","1","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","492","2","1" +"baseline","cross-wrapper-barrier-chain","locations","branch","2","1","false","true","true","false","true","true","true","15","17","5","3","3","2","2","0","3","492","0","0" +"baseline","cross-wrapper-barrier-chain","locations","branch","2","2","false","true","true","false","true","true","true","15","17","5","3","3","2","2","0","3","492","0","0" +"candidate","cross-wrapper-barrier-chain","locations","branch","2","2","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","492","2","1" +"candidate","cross-wrapper-barrier-chain","locations","branch","4","0","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","492","4","1" +"baseline","cross-wrapper-barrier-chain","locations","branch","4","0","false","true","true","false","true","true","true","17","19","5","3","3","4","2","0","3","492","0","0" +"baseline","cross-wrapper-barrier-chain","locations","branch","4","1","false","true","true","false","true","true","true","17","19","5","3","3","4","2","0","3","492","0","0" +"candidate","cross-wrapper-barrier-chain","locations","branch","4","1","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","492","4","1" +"candidate","cross-wrapper-barrier-chain","locations","branch","4","2","true","true","true","true","true","true","true","16","18","5","3","3","3","2","0","3","492","4","1" +"baseline","cross-wrapper-barrier-chain","locations","branch","4","2","false","true","true","false","true","true","true","17","19","5","3","3","4","2","0","3","492","0","0" +"candidate","independent-key-progress","content","head","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","2","2" +"baseline","independent-key-progress","content","head","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","0","0" +"baseline","independent-key-progress","content","head","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","0","0" +"candidate","independent-key-progress","content","head","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","2","2" +"candidate","independent-key-progress","content","head","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","2","2" +"baseline","independent-key-progress","content","head","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","0","0" +"baseline","independent-key-progress","content","head","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","0","0" +"candidate","independent-key-progress","content","head","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","2","2" +"candidate","independent-key-progress","content","head","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","2","2" +"baseline","independent-key-progress","content","head","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","0","0" +"baseline","independent-key-progress","content","head","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","0","0" +"candidate","independent-key-progress","content","head","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","2","2" +"baseline","independent-key-progress","content","branch","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","0","0" +"candidate","independent-key-progress","content","branch","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","2","2" +"candidate","independent-key-progress","content","branch","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","2","2" +"baseline","independent-key-progress","content","branch","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","0","0" +"baseline","independent-key-progress","content","branch","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","0","0" +"candidate","independent-key-progress","content","branch","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","2","2" +"candidate","independent-key-progress","content","branch","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","2","2" +"baseline","independent-key-progress","content","branch","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","0","0" +"baseline","independent-key-progress","content","branch","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","0","0" +"candidate","independent-key-progress","content","branch","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","2","2" +"candidate","independent-key-progress","content","branch","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","2","2" +"baseline","independent-key-progress","content","branch","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","0","0" +"baseline","independent-key-progress","locations","head","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","0","0" +"candidate","independent-key-progress","locations","head","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","2","2" +"candidate","independent-key-progress","locations","head","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","2","2" +"baseline","independent-key-progress","locations","head","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","0","0" +"baseline","independent-key-progress","locations","head","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","0","0" +"candidate","independent-key-progress","locations","head","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","2","2" +"candidate","independent-key-progress","locations","head","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","2","2" +"baseline","independent-key-progress","locations","head","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","0","0" +"baseline","independent-key-progress","locations","head","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","0","0" +"candidate","independent-key-progress","locations","head","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","2","2" +"candidate","independent-key-progress","locations","head","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","2","2" +"baseline","independent-key-progress","locations","head","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","0","0" +"candidate","independent-key-progress","locations","branch","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","2","2" +"baseline","independent-key-progress","locations","branch","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","0","0" +"baseline","independent-key-progress","locations","branch","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","0","0" +"candidate","independent-key-progress","locations","branch","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","2","2" +"candidate","independent-key-progress","locations","branch","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","2","2" +"baseline","independent-key-progress","locations","branch","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","0","0" +"baseline","independent-key-progress","locations","branch","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","0","0" +"candidate","independent-key-progress","locations","branch","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","2","2" +"candidate","independent-key-progress","locations","branch","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","2","2" +"baseline","independent-key-progress","locations","branch","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","0","0" +"baseline","independent-key-progress","locations","branch","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","0","0" +"candidate","independent-key-progress","locations","branch","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","2","2" +"baseline","foreign-namespace-progress","content","head","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","0","0" +"candidate","foreign-namespace-progress","content","head","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","2","2" +"candidate","foreign-namespace-progress","content","head","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","2","2" +"baseline","foreign-namespace-progress","content","head","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","0","0" +"baseline","foreign-namespace-progress","content","head","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","0","0" +"candidate","foreign-namespace-progress","content","head","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","2","2" +"candidate","foreign-namespace-progress","content","head","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","2","2" +"baseline","foreign-namespace-progress","content","head","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","0","0" +"baseline","foreign-namespace-progress","content","head","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","0","0" +"candidate","foreign-namespace-progress","content","head","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","2","2" +"candidate","foreign-namespace-progress","content","head","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","2","2" +"baseline","foreign-namespace-progress","content","head","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","0","0" +"candidate","foreign-namespace-progress","content","branch","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","2","2" +"baseline","foreign-namespace-progress","content","branch","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","0","0" +"baseline","foreign-namespace-progress","content","branch","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","0","0" +"candidate","foreign-namespace-progress","content","branch","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","2","2" +"candidate","foreign-namespace-progress","content","branch","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","2","2" +"baseline","foreign-namespace-progress","content","branch","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","0","0" +"baseline","foreign-namespace-progress","content","branch","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","0","0" +"candidate","foreign-namespace-progress","content","branch","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","2","2" +"candidate","foreign-namespace-progress","content","branch","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","2","2" +"baseline","foreign-namespace-progress","content","branch","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","0","0" +"baseline","foreign-namespace-progress","content","branch","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","0","0" +"candidate","foreign-namespace-progress","content","branch","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","2","2" +"candidate","foreign-namespace-progress","locations","head","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","2","2" +"baseline","foreign-namespace-progress","locations","head","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","0","0" +"baseline","foreign-namespace-progress","locations","head","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","0","0" +"candidate","foreign-namespace-progress","locations","head","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","2","2" +"candidate","foreign-namespace-progress","locations","head","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","2","2" +"baseline","foreign-namespace-progress","locations","head","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","274","0","0" +"baseline","foreign-namespace-progress","locations","head","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","0","0" +"candidate","foreign-namespace-progress","locations","head","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","2","2" +"candidate","foreign-namespace-progress","locations","head","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","2","2" +"baseline","foreign-namespace-progress","locations","head","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","0","0" +"baseline","foreign-namespace-progress","locations","head","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","0","0" +"candidate","foreign-namespace-progress","locations","head","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","548","2","2" +"baseline","foreign-namespace-progress","locations","branch","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","0","0" +"candidate","foreign-namespace-progress","locations","branch","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","2","2" +"candidate","foreign-namespace-progress","locations","branch","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","2","2" +"baseline","foreign-namespace-progress","locations","branch","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","0","0" +"baseline","foreign-namespace-progress","locations","branch","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","0","0" +"candidate","foreign-namespace-progress","locations","branch","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","0","2","328","2","2" +"candidate","foreign-namespace-progress","locations","branch","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","2","2" +"baseline","foreign-namespace-progress","locations","branch","4","0","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","0","0" +"baseline","foreign-namespace-progress","locations","branch","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","0","0" +"candidate","foreign-namespace-progress","locations","branch","4","1","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","2","2" +"candidate","foreign-namespace-progress","locations","branch","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","2","2" +"baseline","foreign-namespace-progress","locations","branch","4","2","true","true","true","true","true","true","true","12","17","4","4","4","0","0","0","4","656","0","0" +"candidate","sequential-reuse","content","head","2","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","1","1" +"baseline","sequential-reuse","content","head","2","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","0","0" +"baseline","sequential-reuse","content","head","2","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","0","0" +"candidate","sequential-reuse","content","head","2","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","1","1" +"candidate","sequential-reuse","content","head","2","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","1","1" +"baseline","sequential-reuse","content","head","2","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","0","0" +"baseline","sequential-reuse","content","head","4","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","0","0" +"candidate","sequential-reuse","content","head","4","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","1","1" +"candidate","sequential-reuse","content","head","4","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","1","1" +"baseline","sequential-reuse","content","head","4","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","0","0" +"baseline","sequential-reuse","content","head","4","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","0","0" +"candidate","sequential-reuse","content","head","4","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","1","1" +"baseline","sequential-reuse","content","branch","2","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","0","0" +"candidate","sequential-reuse","content","branch","2","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","1","1" +"candidate","sequential-reuse","content","branch","2","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","1","1" +"baseline","sequential-reuse","content","branch","2","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","0","0" +"baseline","sequential-reuse","content","branch","2","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","0","0" +"candidate","sequential-reuse","content","branch","2","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","1","1" +"candidate","sequential-reuse","content","branch","4","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","1","1" +"baseline","sequential-reuse","content","branch","4","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","0","0" +"baseline","sequential-reuse","content","branch","4","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","0","0" +"candidate","sequential-reuse","content","branch","4","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","1","1" +"candidate","sequential-reuse","content","branch","4","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","1","1" +"baseline","sequential-reuse","content","branch","4","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","0","0" +"baseline","sequential-reuse","locations","head","2","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","0","0" +"candidate","sequential-reuse","locations","head","2","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","1","1" +"candidate","sequential-reuse","locations","head","2","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","1","1" +"baseline","sequential-reuse","locations","head","2","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","0","0" +"baseline","sequential-reuse","locations","head","2","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","0","0" +"candidate","sequential-reuse","locations","head","2","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","1","1" +"candidate","sequential-reuse","locations","head","4","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","1","1" +"baseline","sequential-reuse","locations","head","4","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","0","0" +"baseline","sequential-reuse","locations","head","4","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","0","0" +"candidate","sequential-reuse","locations","head","4","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","1","1" +"candidate","sequential-reuse","locations","head","4","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","1","1" +"baseline","sequential-reuse","locations","head","4","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","411","0","0" +"candidate","sequential-reuse","locations","branch","2","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","1","1" +"baseline","sequential-reuse","locations","branch","2","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","0","0" +"baseline","sequential-reuse","locations","branch","2","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","0","0" +"candidate","sequential-reuse","locations","branch","2","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","1","1" +"candidate","sequential-reuse","locations","branch","2","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","1","1" +"baseline","sequential-reuse","locations","branch","2","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","0","0" +"baseline","sequential-reuse","locations","branch","4","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","0","0" +"candidate","sequential-reuse","locations","branch","4","0","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","1","1" +"candidate","sequential-reuse","locations","branch","4","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","1","1" +"baseline","sequential-reuse","locations","branch","4","1","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","0","0" +"baseline","sequential-reuse","locations","branch","4","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","0","0" +"candidate","sequential-reuse","locations","branch","4","2","true","true","true","true","true","true","true","17","20","6","4","3","2","2","0","3","492","1","1" +"baseline","registry-failure","content","head","2","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","0","0" +"candidate","registry-failure","content","head","2","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","2","2" +"candidate","registry-failure","content","head","2","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","2","2" +"baseline","registry-failure","content","head","2","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","0","0" +"baseline","registry-failure","content","head","2","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","0","0" +"candidate","registry-failure","content","head","2","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","2","2" +"candidate","registry-failure","content","head","4","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","2","2" +"baseline","registry-failure","content","head","4","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","0","0" +"baseline","registry-failure","content","head","4","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","0","0" +"candidate","registry-failure","content","head","4","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","2","2" +"candidate","registry-failure","content","head","4","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","2","2" +"baseline","registry-failure","content","head","4","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","0","0" +"candidate","registry-failure","content","branch","2","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","2","2" +"baseline","registry-failure","content","branch","2","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","0","0" +"baseline","registry-failure","content","branch","2","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","0","0" +"candidate","registry-failure","content","branch","2","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","2","2" +"candidate","registry-failure","content","branch","2","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","2","2" +"baseline","registry-failure","content","branch","2","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","0","0" +"baseline","registry-failure","content","branch","4","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","0","0" +"candidate","registry-failure","content","branch","4","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","2","2" +"candidate","registry-failure","content","branch","4","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","2","2" +"baseline","registry-failure","content","branch","4","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","0","0" +"baseline","registry-failure","content","branch","4","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","0","0" +"candidate","registry-failure","content","branch","4","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","2","2" +"candidate","registry-failure","locations","head","2","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","2","2" +"baseline","registry-failure","locations","head","2","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","0","0" +"baseline","registry-failure","locations","head","2","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","0","0" +"candidate","registry-failure","locations","head","2","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","2","2" +"candidate","registry-failure","locations","head","2","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","2","2" +"baseline","registry-failure","locations","head","2","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","0","0" +"baseline","registry-failure","locations","head","4","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","0","0" +"candidate","registry-failure","locations","head","4","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","2","2" +"candidate","registry-failure","locations","head","4","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","2","2" +"baseline","registry-failure","locations","head","4","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","0","0" +"baseline","registry-failure","locations","head","4","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","0","0" +"candidate","registry-failure","locations","head","4","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","274","2","2" +"baseline","registry-failure","locations","branch","2","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","0","0" +"candidate","registry-failure","locations","branch","2","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","2","2" +"candidate","registry-failure","locations","branch","2","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","2","2" +"baseline","registry-failure","locations","branch","2","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","0","0" +"baseline","registry-failure","locations","branch","2","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","0","0" +"candidate","registry-failure","locations","branch","2","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","2","2" +"candidate","registry-failure","locations","branch","4","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","2","2" +"baseline","registry-failure","locations","branch","4","0","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","0","0" +"baseline","registry-failure","locations","branch","4","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","0","0" +"candidate","registry-failure","locations","branch","4","1","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","2","2" +"candidate","registry-failure","locations","branch","4","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","2","2" +"baseline","registry-failure","locations","branch","4","2","true","true","true","true","true","true","true","5","8","2","2","1","0","0","1","2","328","0","0" +"candidate","payload-failure","content","head","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","2","2" +"baseline","payload-failure","content","head","2","0","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","0","0" +"baseline","payload-failure","content","head","2","1","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","0","0" +"candidate","payload-failure","content","head","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","2","2" +"candidate","payload-failure","content","head","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","2","2" +"baseline","payload-failure","content","head","2","2","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","0","0" +"baseline","payload-failure","content","head","4","0","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","0","0" +"candidate","payload-failure","content","head","4","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","2","2" +"candidate","payload-failure","content","head","4","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","2","2" +"baseline","payload-failure","content","head","4","1","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","0","0" +"baseline","payload-failure","content","head","4","2","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","0","0" +"candidate","payload-failure","content","head","4","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","2","2" +"baseline","payload-failure","content","branch","2","0","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","0","0" +"candidate","payload-failure","content","branch","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","2","2" +"candidate","payload-failure","content","branch","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","2","2" +"baseline","payload-failure","content","branch","2","1","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","0","0" +"baseline","payload-failure","content","branch","2","2","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","0","0" +"candidate","payload-failure","content","branch","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","2","2" +"candidate","payload-failure","content","branch","4","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","2","2" +"baseline","payload-failure","content","branch","4","0","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","0","0" +"baseline","payload-failure","content","branch","4","1","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","0","0" +"candidate","payload-failure","content","branch","4","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","2","2" +"candidate","payload-failure","content","branch","4","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","2","2" +"baseline","payload-failure","content","branch","4","2","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","0","0" +"baseline","payload-failure","locations","head","2","0","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","0","0" +"candidate","payload-failure","locations","head","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","2","2" +"candidate","payload-failure","locations","head","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","2","2" +"baseline","payload-failure","locations","head","2","1","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","0","0" +"baseline","payload-failure","locations","head","2","2","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","0","0" +"candidate","payload-failure","locations","head","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","2","2" +"candidate","payload-failure","locations","head","4","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","2","2" +"baseline","payload-failure","locations","head","4","0","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","0","0" +"baseline","payload-failure","locations","head","4","1","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","0","0" +"candidate","payload-failure","locations","head","4","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","2","2" +"candidate","payload-failure","locations","head","4","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","2","2" +"baseline","payload-failure","locations","head","4","2","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","274","0","0" +"candidate","payload-failure","locations","branch","2","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","2","2" +"baseline","payload-failure","locations","branch","2","0","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","0","0" +"baseline","payload-failure","locations","branch","2","1","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","0","0" +"candidate","payload-failure","locations","branch","2","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","2","2" +"candidate","payload-failure","locations","branch","2","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","2","2" +"baseline","payload-failure","locations","branch","2","2","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","0","0" +"baseline","payload-failure","locations","branch","4","0","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","0","0" +"candidate","payload-failure","locations","branch","4","0","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","2","2" +"candidate","payload-failure","locations","branch","4","1","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","2","2" +"baseline","payload-failure","locations","branch","4","1","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","0","0" +"baseline","payload-failure","locations","branch","4","2","false","false","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","0","0" +"candidate","payload-failure","locations","branch","4","2","true","true","true","true","true","true","true","6","9","2","2","2","0","0","1","2","328","2","2" +"baseline","cleanup-failure","content","head","2","0","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","135","0","0" +"candidate","cleanup-failure","content","head","2","0","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","135","2","1" +"candidate","cleanup-failure","content","head","2","1","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","135","2","1" +"baseline","cleanup-failure","content","head","2","1","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","135","0","0" +"baseline","cleanup-failure","content","head","2","2","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","135","0","0" +"candidate","cleanup-failure","content","head","2","2","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","135","2","1" +"candidate","cleanup-failure","content","head","4","0","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","135","2","1" +"baseline","cleanup-failure","content","head","4","0","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","135","0","0" +"baseline","cleanup-failure","content","head","4","1","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","135","0","0" +"candidate","cleanup-failure","content","head","4","1","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","135","2","1" +"candidate","cleanup-failure","content","head","4","2","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","135","2","1" +"baseline","cleanup-failure","content","head","4","2","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","135","0","0" +"candidate","cleanup-failure","content","branch","2","0","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","162","2","1" +"baseline","cleanup-failure","content","branch","2","0","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","162","0","0" +"baseline","cleanup-failure","content","branch","2","1","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","162","0","0" +"candidate","cleanup-failure","content","branch","2","1","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","162","2","1" +"candidate","cleanup-failure","content","branch","2","2","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","162","2","1" +"baseline","cleanup-failure","content","branch","2","2","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","162","0","0" +"baseline","cleanup-failure","content","branch","4","0","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","162","0","0" +"candidate","cleanup-failure","content","branch","4","0","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","162","2","1" +"candidate","cleanup-failure","content","branch","4","1","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","162","2","1" +"baseline","cleanup-failure","content","branch","4","1","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","162","0","0" +"baseline","cleanup-failure","content","branch","4","2","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","162","0","0" +"candidate","cleanup-failure","content","branch","4","2","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","162","2","1" +"candidate","cleanup-failure","locations","head","2","0","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","135","2","1" +"baseline","cleanup-failure","locations","head","2","0","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","135","0","0" +"baseline","cleanup-failure","locations","head","2","1","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","135","0","0" +"candidate","cleanup-failure","locations","head","2","1","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","135","2","1" +"candidate","cleanup-failure","locations","head","2","2","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","135","2","1" +"baseline","cleanup-failure","locations","head","2","2","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","135","0","0" +"baseline","cleanup-failure","locations","head","4","0","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","135","0","0" +"candidate","cleanup-failure","locations","head","4","0","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","135","2","1" +"candidate","cleanup-failure","locations","head","4","1","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","135","2","1" +"baseline","cleanup-failure","locations","head","4","1","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","135","0","0" +"baseline","cleanup-failure","locations","head","4","2","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","135","0","0" +"candidate","cleanup-failure","locations","head","4","2","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","135","2","1" +"baseline","cleanup-failure","locations","branch","2","0","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","162","0","0" +"candidate","cleanup-failure","locations","branch","2","0","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","162","2","1" +"candidate","cleanup-failure","locations","branch","2","1","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","162","2","1" +"baseline","cleanup-failure","locations","branch","2","1","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","162","0","0" +"baseline","cleanup-failure","locations","branch","2","2","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","162","0","0" +"candidate","cleanup-failure","locations","branch","2","2","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","162","2","1" +"candidate","cleanup-failure","locations","branch","4","0","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","162","2","1" +"baseline","cleanup-failure","locations","branch","4","0","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","162","0","0" +"baseline","cleanup-failure","locations","branch","4","1","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","162","0","0" +"candidate","cleanup-failure","locations","branch","4","1","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","162","2","1" +"candidate","cleanup-failure","locations","branch","4","2","true","true","true","true","true","true","true","7","10","2","1","1","3","0","1","1","162","2","1" +"baseline","cleanup-failure","locations","branch","4","2","false","false","false","false","true","true","true","7","10","2","1","1","3","0","1","1","162","0","0" +"candidate","split-delegate-control","content","head","2","0","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","274","2","2" +"baseline","split-delegate-control","content","head","2","0","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","274","0","0" +"baseline","split-delegate-control","content","head","2","1","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","274","0","0" +"candidate","split-delegate-control","content","head","2","1","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","274","2","2" +"candidate","split-delegate-control","content","head","2","2","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","274","2","2" +"baseline","split-delegate-control","content","head","2","2","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","274","0","0" +"baseline","split-delegate-control","content","head","4","0","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","548","0","0" +"candidate","split-delegate-control","content","head","4","0","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","548","4","4" +"candidate","split-delegate-control","content","head","4","1","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","548","4","4" +"baseline","split-delegate-control","content","head","4","1","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","548","0","0" +"baseline","split-delegate-control","content","head","4","2","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","548","0","0" +"candidate","split-delegate-control","content","head","4","2","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","548","4","4" +"baseline","split-delegate-control","content","branch","2","0","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","328","0","0" +"candidate","split-delegate-control","content","branch","2","0","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","328","2","2" +"candidate","split-delegate-control","content","branch","2","1","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","328","2","2" +"baseline","split-delegate-control","content","branch","2","1","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","328","0","0" +"baseline","split-delegate-control","content","branch","2","2","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","328","0","0" +"candidate","split-delegate-control","content","branch","2","2","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","328","2","2" +"candidate","split-delegate-control","content","branch","4","0","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","656","4","4" +"baseline","split-delegate-control","content","branch","4","0","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","656","0","0" +"baseline","split-delegate-control","content","branch","4","1","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","656","0","0" +"candidate","split-delegate-control","content","branch","4","1","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","656","4","4" +"candidate","split-delegate-control","content","branch","4","2","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","656","4","4" +"baseline","split-delegate-control","content","branch","4","2","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","656","0","0" +"baseline","split-delegate-control","locations","head","2","0","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","274","0","0" +"candidate","split-delegate-control","locations","head","2","0","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","274","2","2" +"candidate","split-delegate-control","locations","head","2","1","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","274","2","2" +"baseline","split-delegate-control","locations","head","2","1","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","274","0","0" +"baseline","split-delegate-control","locations","head","2","2","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","274","0","0" +"candidate","split-delegate-control","locations","head","2","2","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","274","2","2" +"candidate","split-delegate-control","locations","head","4","0","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","548","4","4" +"baseline","split-delegate-control","locations","head","4","0","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","548","0","0" +"baseline","split-delegate-control","locations","head","4","1","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","548","0","0" +"candidate","split-delegate-control","locations","head","4","1","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","548","4","4" +"candidate","split-delegate-control","locations","head","4","2","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","548","4","4" +"baseline","split-delegate-control","locations","head","4","2","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","548","0","0" +"candidate","split-delegate-control","locations","branch","2","0","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","328","2","2" +"baseline","split-delegate-control","locations","branch","2","0","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","328","0","0" +"baseline","split-delegate-control","locations","branch","2","1","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","328","0","0" +"candidate","split-delegate-control","locations","branch","2","1","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","328","2","2" +"candidate","split-delegate-control","locations","branch","2","2","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","328","2","2" +"baseline","split-delegate-control","locations","branch","2","2","true","true","true","true","true","true","true","6","16","2","2","2","0","0","0","2","328","0","0" +"baseline","split-delegate-control","locations","branch","4","0","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","656","0","0" +"candidate","split-delegate-control","locations","branch","4","0","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","656","4","4" +"candidate","split-delegate-control","locations","branch","4","1","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","656","4","4" +"baseline","split-delegate-control","locations","branch","4","1","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","656","0","0" +"baseline","split-delegate-control","locations","branch","4","2","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","656","0","0" +"candidate","split-delegate-control","locations","branch","4","2","true","true","true","true","true","true","true","12","26","4","4","4","0","0","0","4","656","4","4" diff --git a/benchmarks/shared-persistent-namespace-ordering/results/local-2026-12-03.json b/benchmarks/shared-persistent-namespace-ordering/results/local-2026-12-03.json new file mode 100644 index 0000000..25c79b1 --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/results/local-2026-12-03.json @@ -0,0 +1,990878 @@ +{ + "schemaVersion": 1, + "experiment": "P16: shared custom-persistent namespace coordination", + "startedAt": "2026-12-03T18:42:34.184Z", + "finishedAt": "2026-12-03T18:42:35.096Z", + "environment": { + "platform": "win32", + "arch": "x64", + "node": "v22.22.2" + }, + "protocolSha256": "f4d0e787a6da4079bca804102fec1ba23d161dfbdf8be3a83138046d5fe1c6ce", + "baseline": "e615fda1ef8c091070e9c2970fa86ffe7b32e887", + "baselineCacheSha256": "907326508e806cf1521d9f55cce4a69c4933b7c85115ea6b4871c745a83b2276", + "sourceCommit": "403d027b79913b9f949f5b58259a3d4d447f4ae6", + "source": [ + { + "path": "benchmarks/shared-persistent-namespace-ordering/baseline-vitest.config.ts", + "sha256": "b12cddbd6683a5b145c663b0246c053e78504ef52c9d792cf5ef094c85e5ed88" + }, + { + "path": "benchmarks/shared-persistent-namespace-ordering/factory-fixtures.ts", + "sha256": "27c30208ab44e5e3629f8306b158e4f916a1f69f8f328589015be206e9286896" + }, + { + "path": "benchmarks/shared-persistent-namespace-ordering/fixtures.ts", + "sha256": "b5f032881bf1d1693803f5e5d7d38ce7b93954f79d97bc9b2a2f5cba9187d6b7" + }, + { + "path": "benchmarks/shared-persistent-namespace-ordering/native-fixtures.ts", + "sha256": "b6d665cdfb05851a2984f3d9d48412b20d40ec402e9541a022705da57d3696ad" + }, + { + "path": "benchmarks/shared-persistent-namespace-ordering/protocol.json", + "sha256": "f4d0e787a6da4079bca804102fec1ba23d161dfbdf8be3a83138046d5fe1c6ce" + }, + { + "path": "benchmarks/shared-persistent-namespace-ordering/run.ts", + "sha256": "310c6d9ff2a9afb51f7bcba1976e7c8eb7ff6b0b067e68bc5de1ae9d76f0637a" + }, + { + "path": "benchmarks/shared-persistent-namespace-ordering/tsconfig.json", + "sha256": "4620251eca4fe1a06668eb8bfed03862584b33c7292e3341f80b83e15bafcb3b" + }, + { + "path": "benchmarks/shared-persistent-namespace-ordering/verify.mjs", + "sha256": "2204079262a3a45c3059545aa3ac29e04b0b5deec7d427c4db5754643cfa9894" + }, + { + "path": "package-lock.json", + "sha256": "1cd3149353e5c564b536c3a996d7f2ba37356702141c4605187c433a5ca96a41" + }, + { + "path": "package.json", + "sha256": "0338e9c35684da0b8a01923a442f7fc5fd3e9149ffe5807d7af3cd3302c88368" + }, + { + "path": "playwright.config.ts", + "sha256": "a89cceb6f61c458a8d48039e61e0d64aaaf83bd702ab73bb61ec92fd5feb9af2" + }, + { + "path": "src/async-lru-cache.ts", + "sha256": "c18a9ab4c1306bac2598e5a22b3e4b35b27929e22313a60e24ee05663edfb343" + }, + { + "path": "src/auth/dev-identity.ts", + "sha256": "14c61dc6991df243ff00f72af17649cda8a56c3cf17d18be88f75d5111ed48d0" + }, + { + "path": "src/auth/index.ts", + "sha256": "7d17ad2066481660c2b38a120fb33d8c93f65f566b8f3c54129ff5175a2fab31" + }, + { + "path": "src/auth/legacy-migration.ts", + "sha256": "82b41a4f817bbadd9873b55d4e5efeee77786c1fa11d4541e3ef65bac414d61c" + }, + { + "path": "src/auth/oidc.ts", + "sha256": "8d53c4da468bb13e149190052b0876f3a18800e88d9825edf2f5637605474f9c" + }, + { + "path": "src/auth/policy.ts", + "sha256": "1a723af4ca68de677a497373f5573bf5d59b0151d78000f33cf5d63a1db341e6" + }, + { + "path": "src/auth/rate-limit.ts", + "sha256": "29a705339f25a1fcadd5c71dc08bb5ddd66073d1ad952eb4a03407265b2cef6d" + }, + { + "path": "src/auth/repository.ts", + "sha256": "2cd7e82dcc1a0ce091e7a10e080027d8b3ce3f52f84eccc9eaec02e82fc1b00a" + }, + { + "path": "src/auth/service.ts", + "sha256": "1d9079a2da1f8a499916cc47acde5437074faae867044283ebf4ff17ce7fe6b6" + }, + { + "path": "src/auth/types.ts", + "sha256": "ba06dec883f1653bd5d0e79831d2056f096f35ddc37511993dd85a82ed93161d" + }, + { + "path": "src/authority/cloudflare.ts", + "sha256": "13bcd296b6b20c327430ae7769c5feda45143bf4b2060b4f676a971ae5920713" + }, + { + "path": "src/authority/node.ts", + "sha256": "4dc949daec86683e6c3b0798007b8662cb64392d9a98e0c460264162ee9b5be3" + }, + { + "path": "src/authority/request-runtime.ts", + "sha256": "4a1152af2f077c8cf72f8daf1927d5486bc84b466c2a51362d8adc7365ed3f8a" + }, + { + "path": "src/benchmark.ts", + "sha256": "9bb0e2d1467e5ec7ed2636cb0e47fd1f41d49de59fd0b0ad5f274f095ef68fc3" + }, + { + "path": "src/browser/cache.ts", + "sha256": "ee94cc7ecdcbe8b2422039670f3af1a12419f7751556b55f1054adf7152b1bc5" + }, + { + "path": "src/browser/client.ts", + "sha256": "7ef11506e8126ad651e7296bdf66200357070795c6fbb8839750984365a0fe6d" + }, + { + "path": "src/browser/collection.ts", + "sha256": "7f4723e93d287742e59e9b561dd11049a89edd72f0a4d825a70eeb0e965aa2f6" + }, + { + "path": "src/browser/connect.ts", + "sha256": "19ebd4d614212682867a08fe57333a5db9bb883b510622004383ffadf519f2c7" + }, + { + "path": "src/browser/main.ts", + "sha256": "5d3030658749d403a34ebd1195106d29f9988e8c540b015d371d441733106be9" + }, + { + "path": "src/browser/remote-reader.ts", + "sha256": "12bbbdfb9094d85495be15da62edc66f12c58d2fa431d875178d393cbba3f098" + }, + { + "path": "src/browser/styles.css", + "sha256": "c1bc4253240ee8ede68d4a95814dcacfaad444b06442c839fd693f21b375681e" + }, + { + "path": "src/cli.ts", + "sha256": "2c627056f5b1e776578b9537ec64aeaaf3a5849a16446ed8fb3068b36c1d8e0c" + }, + { + "path": "src/client-ip.ts", + "sha256": "dcf33c329f3506aea17f9a8fd10d4f4a3c04f02e1695735be863ecbb1ceef6a6" + }, + { + "path": "src/cloudflare-worker.ts", + "sha256": "1cd7835e1990d152934e248e3c75585983964dd95fdb3a3bc01b133914c65cb3" + }, + { + "path": "src/cloudflare/r2-object-store.ts", + "sha256": "2d0e1ea56951ee66d6fab44fb004684b03953ea149e50c1aabf2823b042e7688" + }, + { + "path": "src/collection-export.ts", + "sha256": "43d613745229dd2f005376f988d5b5c40d984991beabe7a826d76056e1743e99" + }, + { + "path": "src/core.ts", + "sha256": "1b73693c9c3ea62d60eb5e01d062c232bfa5d0f2a3b0d9709c7430a3c9512f25" + }, + { + "path": "src/engines/content-trie.ts", + "sha256": "ba4a4b455a262e37c62e6ac52964e78c4895ddef85d4ecb494c8f6676e249949" + }, + { + "path": "src/engines/immutable-snapshot.ts", + "sha256": "f29975e2c9528f0284f77d48876a3957ba338f7761e4162069f3413b1cfc1c0d" + }, + { + "path": "src/engines/log-snapshot.ts", + "sha256": "b866519a985b79524424d9f7de4fd744c8e21c85a64904dfa5328fef714bfcd7" + }, + { + "path": "src/engines/monolith.ts", + "sha256": "016641dd5c549d834cca283e68cc39ca5d1584cd0236a4cf1067389a9a19a26f" + }, + { + "path": "src/envelope-store.ts", + "sha256": "be7fff49bb688bbc7746ad7e672910fc9438e19c8bea3fae9c21304b9fc41cf2" + }, + { + "path": "src/envelope.ts", + "sha256": "aa4092e18fccf77c10be3856591f61906fb71c69b5fd2d6acc917d9ff925a095" + }, + { + "path": "src/index-migrate.ts", + "sha256": "96a4902cfdbe94a059dec8f31e94ab8b649ba8a1111c054ffedd4dacf82bdeb1" + }, + { + "path": "src/index.ts", + "sha256": "dfe16b5bebfa9d48a7eb6606cc550b9fda352d1b9e07b2e2d01b63d4b06f9a4d" + }, + { + "path": "src/key-migrate.ts", + "sha256": "d84d24b7a10b61c7f99e32f8b8d01cfb2c17cdae410c0274425a74e4700bcbce" + }, + { + "path": "src/layout-advisor-cli.ts", + "sha256": "fc986433df1298a096b30e400a0a23c88ff19a78838d22dfe09f8d867767ccc2" + }, + { + "path": "src/layout-advisor.ts", + "sha256": "2a2b864b997edf581b5a37da63b02438709f7d16e1d0e70a3544e9fd29d63b29" + }, + { + "path": "src/layout-migrate.ts", + "sha256": "6bcb212c1c0eff88fe13dbd292414aacd74aa6397101456b1e44b26821b74cf7" + }, + { + "path": "src/metadata-migrate.ts", + "sha256": "87465c97369bb31ad9e928c3d6871758a8b0f7a9a50459fc610ab88ae5343593" + }, + { + "path": "src/migration/adapters-node.ts", + "sha256": "13fbc1150eea574f0ab5e6b908203b5c32fd4ef8f71c94ac53d37160d3d7349c" + }, + { + "path": "src/migration/adapters.ts", + "sha256": "c4cc5f4700ca95362dd757651c1efe3ba988a05d8148bb9a012b32c4bbfbcf49" + }, + { + "path": "src/migration/archive.ts", + "sha256": "8f7f9f6fe11a5da3f8b3134a6abda6ccd31205bc2a852b7921f233a4cb811aba" + }, + { + "path": "src/migration/index.ts", + "sha256": "90b4802fb149b25f5c31dba6aa3a66fd2620c4d93f384f837bd3dbc1564cba63" + }, + { + "path": "src/migration/node.ts", + "sha256": "a451bc6d402d6512145d6b81cbc8b7cd6a27e1aa7e2890d1e032880391b16446" + }, + { + "path": "src/mutation-batch.ts", + "sha256": "a043e8e5e4af60c36fa4194e0979edea50cc91023e91e4e7c132774884512983" + }, + { + "path": "src/prefix-store.ts", + "sha256": "bc3e7d28d1492975cc96d95a260973f29a75063399e33d49d43b08bfdafb1d8f" + }, + { + "path": "src/providers/azure.ts", + "sha256": "2efd093f913d8dc296b572c03ee04bac93f5f9efa39dd22503e1fef0d5f05474" + }, + { + "path": "src/providers/configured.ts", + "sha256": "239cf9ef8c238d287526a5d085852774ef01e49a1d3c30d64d1545a2f6dd92d3" + }, + { + "path": "src/providers/local.ts", + "sha256": "212d13dd9c4fc0ee30d558cb21d05b169ef47177b4a111c5d18cbea38e7f4356" + }, + { + "path": "src/providers/s3.ts", + "sha256": "94fea72df72db99e3954ecc4d7dd66807e511821a81fe81032a1f74b71098008" + }, + { + "path": "src/query.ts", + "sha256": "d03c349acbe25a91076331ec450c83ae6581350b5b75796d60244cc67dfa497b" + }, + { + "path": "src/read-bundle.ts", + "sha256": "c5faf8852d0ba1d4a565f90371b54deda9fb5f4721bcf93bd9fe89db7192f774" + }, + { + "path": "src/remove-local-auth.ts", + "sha256": "3ae557078d56bc2a0e2c61fd248b16f51a391d3ec8b19091e0ef3486ee6cc527" + }, + { + "path": "src/request-diagnostics.ts", + "sha256": "a5fc23ca2d1973496f8e80be94d285cd4bc9297cf009105be6b46c5efdb59a37" + }, + { + "path": "src/retention-maintain.ts", + "sha256": "cbd935a88144a75090b29080921ab821451b6d2e8006c385495b8827f0490dbc" + }, + { + "path": "src/secondary-index.ts", + "sha256": "037d2e4f97762376475a70b0bc1eb5d93ab67bd3ce2b9321be47fa637f7e6a21" + }, + { + "path": "src/server-keys.ts", + "sha256": "090f2b648bb46627bc0013fcf1a25bdc12ac12af01e88c28725880c507e90a3c" + }, + { + "path": "src/server.ts", + "sha256": "f0b29e1aedb280461d4446d5e6c32e5472dd2f347782909e18487f0ab47373ef" + }, + { + "path": "src/shared-utils.ts", + "sha256": "3d0eff4c32280431e9ddd824f6894509af9ab355becb797664e083111a6bc05a" + }, + { + "path": "src/snapshot-protocol.ts", + "sha256": "f7736aed9748d8be8f502fa03ea8f71bd450178370215f5ff25e2f14d971eeae" + }, + { + "path": "src/store-utils.ts", + "sha256": "66e7b71a9e17534a774def2cfb090f416c4f4619a9c6bf4c53f6b2b0833af49b" + }, + { + "path": "src/stores.ts", + "sha256": "07a4b8b3f5257b385f35d89c75e37d50c583adf3d1c87de7a931449db91ba0ac" + }, + { + "path": "src/studio-api.ts", + "sha256": "672fb3a12a0791e0336dfcaf39fd8258520b9004c83d46468740282e6910cc78" + }, + { + "path": "src/trie-protocol.ts", + "sha256": "96b00f39334575a1982ba7051893716ecae723eee7d756d6058aa4eace893146" + }, + { + "path": "src/utils.ts", + "sha256": "8782b0e6999b08ff25873d4db7809d7fa984db73531f394dd66b3197f2983848" + }, + { + "path": "src/workload.ts", + "sha256": "0e150bc40238dfa1b3abf72102803a4683dd7fe3331903f51db5eebb646426e1" + }, + { + "path": "tests/browser-persistent-namespace.test.ts", + "sha256": "e91abdc04b15cc2d50bdfd219367ed4bbf4f5a6820a98838bd7235d483b61a68" + }, + { + "path": "tests/e2e/cache-shared-namespace.spec.ts", + "sha256": "b91293ccd940173b8f72a379e6da2a88fb63fa4df177d38b3e61f820d59b6769" + }, + { + "path": "vitest.config.ts", + "sha256": "f1c0fb218457f00cc48edfa0c8ff24ce53d42e5b0e2764d2e87cec2333c20c52" + } + ], + "complete": true, + "fatal": null, + "attemptedCase": { + "arm": "candidate", + "scenario": "split-delegate-control", + "policy": "locations", + "shape": "branch", + "callers": 4, + "replicate": 2 + }, + "primitiveCalls": 9552, + "gates": { + "sourceUnchanged": true, + "allCandidateContracts": true, + "baselinePrimaryReproduced": true, + "scopeBoundaryRetained": true, + "pairedMemoryAndOutcomes": true, + "withinLimits": true + }, + "summary": [ + { + "scenario": "concurrent-distinct-sets", + "baseline": { + "trials": 24, + "correct": 0, + "stateCorrect": 0, + "coldCorrect": 0, + "blockedCorrectly": 24, + "workPrimitiveCalls": 216, + "allPrimitiveCalls": 504, + "workClones": 72, + "workCloneInputBytes": 10836, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 216, + "allPrimitiveCalls": 552, + "workClones": 72, + "workCloneInputBytes": 10836, + "peakActive": 4, + "peakKeys": 4 + } + }, + { + "scenario": "concurrent-distinct-deletes", + "baseline": { + "trials": 24, + "correct": 0, + "stateCorrect": 0, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 216, + "allPrimitiveCalls": 312, + "workClones": 0, + "workCloneInputBytes": 0, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 216, + "allPrimitiveCalls": 312, + "workClones": 0, + "workCloneInputBytes": 0, + "peakActive": 4, + "peakKeys": 4 + } + }, + { + "scenario": "late-set-delete", + "baseline": { + "trials": 24, + "correct": 0, + "stateCorrect": 0, + "coldCorrect": 0, + "blockedCorrectly": 0, + "workPrimitiveCalls": 144, + "allPrimitiveCalls": 192, + "workClones": 24, + "workCloneInputBytes": 3612, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 144, + "allPrimitiveCalls": 192, + "workClones": 24, + "workCloneInputBytes": 3612, + "peakActive": 2, + "peakKeys": 1 + } + }, + { + "scenario": "late-delete-set", + "baseline": { + "trials": 24, + "correct": 0, + "stateCorrect": 0, + "coldCorrect": 0, + "blockedCorrectly": 0, + "workPrimitiveCalls": 144, + "allPrimitiveCalls": 192, + "workClones": 24, + "workCloneInputBytes": 3612, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 144, + "allPrimitiveCalls": 192, + "workClones": 24, + "workCloneInputBytes": 3612, + "peakActive": 2, + "peakKeys": 1 + } + }, + { + "scenario": "late-set-clear", + "baseline": { + "trials": 24, + "correct": 0, + "stateCorrect": 0, + "coldCorrect": 0, + "blockedCorrectly": 0, + "workPrimitiveCalls": 168, + "allPrimitiveCalls": 216, + "workClones": 24, + "workCloneInputBytes": 3612, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 168, + "allPrimitiveCalls": 216, + "workClones": 24, + "workCloneInputBytes": 3612, + "peakActive": 2, + "peakKeys": 1 + } + }, + { + "scenario": "late-set-destroy", + "baseline": { + "trials": 24, + "correct": 0, + "stateCorrect": 0, + "coldCorrect": 0, + "blockedCorrectly": 0, + "workPrimitiveCalls": 168, + "allPrimitiveCalls": 216, + "workClones": 24, + "workCloneInputBytes": 3612, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 168, + "allPrimitiveCalls": 216, + "workClones": 24, + "workCloneInputBytes": 3612, + "peakActive": 2, + "peakKeys": 1 + } + }, + { + "scenario": "late-clear-set", + "baseline": { + "trials": 24, + "correct": 0, + "stateCorrect": 0, + "coldCorrect": 0, + "blockedCorrectly": 0, + "workPrimitiveCalls": 168, + "allPrimitiveCalls": 216, + "workClones": 24, + "workCloneInputBytes": 3612, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 168, + "allPrimitiveCalls": 216, + "workClones": 24, + "workCloneInputBytes": 3612, + "peakActive": 2, + "peakKeys": 1 + } + }, + { + "scenario": "late-destroy-set", + "baseline": { + "trials": 24, + "correct": 0, + "stateCorrect": 0, + "coldCorrect": 0, + "blockedCorrectly": 0, + "workPrimitiveCalls": 168, + "allPrimitiveCalls": 216, + "workClones": 24, + "workCloneInputBytes": 3612, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 168, + "allPrimitiveCalls": 216, + "workClones": 24, + "workCloneInputBytes": 3612, + "peakActive": 2, + "peakKeys": 1 + } + }, + { + "scenario": "cross-wrapper-barrier-chain", + "baseline": { + "trials": 24, + "correct": 0, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 0, + "workPrimitiveCalls": 384, + "allPrimitiveCalls": 432, + "workClones": 72, + "workCloneInputBytes": 10836, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 384, + "allPrimitiveCalls": 432, + "workClones": 72, + "workCloneInputBytes": 10836, + "peakActive": 4, + "peakKeys": 1 + } + }, + { + "scenario": "independent-key-progress", + "baseline": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 216, + "allPrimitiveCalls": 312, + "workClones": 72, + "workCloneInputBytes": 10836, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 216, + "allPrimitiveCalls": 312, + "workClones": 72, + "workCloneInputBytes": 10836, + "peakActive": 2, + "peakKeys": 2 + } + }, + { + "scenario": "foreign-namespace-progress", + "baseline": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 216, + "allPrimitiveCalls": 312, + "workClones": 72, + "workCloneInputBytes": 10836, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 216, + "allPrimitiveCalls": 312, + "workClones": 72, + "workCloneInputBytes": 10836, + "peakActive": 2, + "peakKeys": 2 + } + }, + { + "scenario": "sequential-reuse", + "baseline": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 408, + "allPrimitiveCalls": 480, + "workClones": 72, + "workCloneInputBytes": 10836, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 408, + "allPrimitiveCalls": 480, + "workClones": 72, + "workCloneInputBytes": 10836, + "peakActive": 1, + "peakKeys": 1 + } + }, + { + "scenario": "registry-failure", + "baseline": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 120, + "allPrimitiveCalls": 192, + "workClones": 48, + "workCloneInputBytes": 7224, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 120, + "allPrimitiveCalls": 192, + "workClones": 48, + "workCloneInputBytes": 7224, + "peakActive": 2, + "peakKeys": 2 + } + }, + { + "scenario": "payload-failure", + "baseline": { + "trials": 24, + "correct": 0, + "stateCorrect": 0, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 144, + "allPrimitiveCalls": 216, + "workClones": 48, + "workCloneInputBytes": 7224, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 144, + "allPrimitiveCalls": 216, + "workClones": 48, + "workCloneInputBytes": 7224, + "peakActive": 2, + "peakKeys": 2 + } + }, + { + "scenario": "cleanup-failure", + "baseline": { + "trials": 24, + "correct": 0, + "stateCorrect": 0, + "coldCorrect": 0, + "blockedCorrectly": 0, + "workPrimitiveCalls": 168, + "allPrimitiveCalls": 240, + "workClones": 24, + "workCloneInputBytes": 3564, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 168, + "allPrimitiveCalls": 240, + "workClones": 24, + "workCloneInputBytes": 3564, + "peakActive": 2, + "peakKeys": 1 + } + }, + { + "scenario": "split-delegate-control", + "baseline": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 216, + "allPrimitiveCalls": 504, + "workClones": 72, + "workCloneInputBytes": 10836, + "peakActive": 0, + "peakKeys": 0 + }, + "candidate": { + "trials": 24, + "correct": 24, + "stateCorrect": 24, + "coldCorrect": 24, + "blockedCorrectly": 24, + "workPrimitiveCalls": 216, + "allPrimitiveCalls": 504, + "workClones": 72, + "workCloneInputBytes": 10836, + "peakActive": 4, + "peakKeys": 4 + } + } + ], + "pairs": [ + { + "id": "concurrent-distinct-sets/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-sets/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "concurrent-distinct-deletes/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-delete/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-delete-set/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-clear/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-set-destroy/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-clear-set/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "late-destroy-set/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cross-wrapper-barrier-chain/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "independent-key-progress/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "foreign-namespace-progress/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "sequential-reuse/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "sequential-reuse/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": true, + "candidateContract": true + }, + { + "id": "registry-failure/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "registry-failure/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "payload-failure/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "cleanup-failure/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/content/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/content/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/content/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/content/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/content/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/content/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/content/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/content/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/content/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/content/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/content/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/content/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/locations/head/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/locations/head/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/locations/head/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/locations/head/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/locations/head/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/locations/head/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/locations/branch/2/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/locations/branch/2/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/locations/branch/2/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/locations/branch/4/0", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/locations/branch/4/1", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + }, + { + "id": "split-delegate-control/locations/branch/4/2", + "memoryAndCloneWorkEqual": true, + "metricsAndOutcomesEqual": true, + "sequentialPrimitiveTapeEqual": null, + "candidateContract": true + } + ], + "rows": [ + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 21, + "phase": "purge" + }, + { + "event": "finish", + "id": 21, + "phase": "purge" + }, + { + "event": "start", + "id": 22, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 22, + "phase": "purge" + }, + { + "event": "finish", + "id": 22, + "phase": "purge" + }, + { + "event": "start", + "id": 23, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 23, + "phase": "purge" + }, + { + "event": "finish", + "id": 23, + "phase": "purge" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 26, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 26, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 26, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 27, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 27, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 27, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 28, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 28, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 28, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 29 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 21, + "phase": "purge" + }, + { + "event": "finish", + "id": 21, + "phase": "purge" + }, + { + "event": "start", + "id": 22, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 22, + "phase": "purge" + }, + { + "event": "finish", + "id": 22, + "phase": "purge" + }, + { + "event": "start", + "id": 23, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 23, + "phase": "purge" + }, + { + "event": "finish", + "id": 23, + "phase": "purge" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 26, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 26, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 26, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 27, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 27, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 27, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 28, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 28, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 28, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 29 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 21, + "phase": "purge" + }, + { + "event": "finish", + "id": 21, + "phase": "purge" + }, + { + "event": "start", + "id": 22, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 22, + "phase": "purge" + }, + { + "event": "finish", + "id": 22, + "phase": "purge" + }, + { + "event": "start", + "id": 23, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 23, + "phase": "purge" + }, + { + "event": "finish", + "id": 23, + "phase": "purge" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 26, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 26, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 26, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 27, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 27, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 27, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 28, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 28, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 28, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 29 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 21, + "phase": "purge" + }, + { + "event": "finish", + "id": 21, + "phase": "purge" + }, + { + "event": "start", + "id": 22, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 22, + "phase": "purge" + }, + { + "event": "finish", + "id": 22, + "phase": "purge" + }, + { + "event": "start", + "id": 23, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 23, + "phase": "purge" + }, + { + "event": "finish", + "id": 23, + "phase": "purge" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 26, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 26, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 26, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 27, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 27, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 27, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 28, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 28, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 28, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 29 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 21, + "phase": "purge" + }, + { + "event": "finish", + "id": 21, + "phase": "purge" + }, + { + "event": "start", + "id": 22, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 22, + "phase": "purge" + }, + { + "event": "finish", + "id": 22, + "phase": "purge" + }, + { + "event": "start", + "id": 23, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 23, + "phase": "purge" + }, + { + "event": "finish", + "id": 23, + "phase": "purge" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 26, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 26, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 26, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 27, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 27, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 27, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 28, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 28, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 28, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 29 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 21, + "phase": "purge" + }, + { + "event": "finish", + "id": 21, + "phase": "purge" + }, + { + "event": "start", + "id": 22, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 22, + "phase": "purge" + }, + { + "event": "finish", + "id": 22, + "phase": "purge" + }, + { + "event": "start", + "id": 23, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 23, + "phase": "purge" + }, + { + "event": "finish", + "id": 23, + "phase": "purge" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 26, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 26, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 26, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 27, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 27, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 27, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 28, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 28, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 28, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 29 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 21, + "phase": "purge" + }, + { + "event": "finish", + "id": 21, + "phase": "purge" + }, + { + "event": "start", + "id": 22, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 22, + "phase": "purge" + }, + { + "event": "finish", + "id": 22, + "phase": "purge" + }, + { + "event": "start", + "id": 23, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 23, + "phase": "purge" + }, + { + "event": "finish", + "id": 23, + "phase": "purge" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 26, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 26, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 26, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 27, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 27, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 27, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 28, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 28, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 28, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 29 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 21, + "phase": "purge" + }, + { + "event": "finish", + "id": 21, + "phase": "purge" + }, + { + "event": "start", + "id": 22, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 22, + "phase": "purge" + }, + { + "event": "finish", + "id": 22, + "phase": "purge" + }, + { + "event": "start", + "id": 23, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 23, + "phase": "purge" + }, + { + "event": "finish", + "id": 23, + "phase": "purge" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 26, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 26, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 26, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 27, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 27, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 27, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 28, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 28, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 28, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 29 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 21, + "phase": "purge" + }, + { + "event": "finish", + "id": 21, + "phase": "purge" + }, + { + "event": "start", + "id": 22, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 22, + "phase": "purge" + }, + { + "event": "finish", + "id": 22, + "phase": "purge" + }, + { + "event": "start", + "id": 23, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 23, + "phase": "purge" + }, + { + "event": "finish", + "id": 23, + "phase": "purge" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 26, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 26, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 26, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 27, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 27, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 27, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 28, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 28, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 28, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 29 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 21, + "phase": "purge" + }, + { + "event": "finish", + "id": 21, + "phase": "purge" + }, + { + "event": "start", + "id": 22, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 22, + "phase": "purge" + }, + { + "event": "finish", + "id": 22, + "phase": "purge" + }, + { + "event": "start", + "id": 23, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 23, + "phase": "purge" + }, + { + "event": "finish", + "id": 23, + "phase": "purge" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 26, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 26, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 26, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 27, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 27, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 27, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 28, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 28, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 28, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 29 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 21, + "phase": "purge" + }, + { + "event": "finish", + "id": 21, + "phase": "purge" + }, + { + "event": "start", + "id": 22, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 22, + "phase": "purge" + }, + { + "event": "finish", + "id": 22, + "phase": "purge" + }, + { + "event": "start", + "id": 23, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 23, + "phase": "purge" + }, + { + "event": "finish", + "id": 23, + "phase": "purge" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 26, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 26, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 26, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 27, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 27, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 27, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 28, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 28, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 28, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 29 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 21, + "phase": "purge" + }, + { + "event": "finish", + "id": 21, + "phase": "purge" + }, + { + "event": "start", + "id": 22, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 22, + "phase": "purge" + }, + { + "event": "finish", + "id": 22, + "phase": "purge" + }, + { + "event": "start", + "id": 23, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 23, + "phase": "purge" + }, + { + "event": "finish", + "id": 23, + "phase": "purge" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 26, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 26, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 26, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 27, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 27, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 27, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 28, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 28, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 28, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 29 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + null, + null, + null, + null, + null + ], + "correct": false + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 2, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "concurrent-distinct-deletes", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-1/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-2/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-3/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 0, + "inputBytes": 0 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "delete", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "delete", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:item-2/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 3, + "barriers": 0, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 0, + "registryDeletes": 0, + "payloadDeletes": 4, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 1, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null + ], + "expected": [ + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-set-destroy", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "late-destroy-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 164 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 1, + "payloadDeletes": 2, + "failures": 0, + "commits": 5, + "total": 7 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 10, + "total": 15 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 10, + "total": 15 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 10, + "total": 15 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 4, + "failures": 0, + "commits": 12, + "total": 17 + }, + "totalPrimitives": 19 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 4, + "failures": 0, + "commits": 12, + "total": 17 + }, + "totalPrimitives": 19 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 4, + "failures": 0, + "commits": 12, + "total": 17 + }, + "totalPrimitives": 19 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 10, + "total": 15 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 10, + "total": 15 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 10, + "total": 15 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 4, + "failures": 0, + "commits": 12, + "total": 17 + }, + "totalPrimitives": 19 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 4, + "failures": 0, + "commits": 12, + "total": 17 + }, + "totalPrimitives": 19 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 4, + "failures": 0, + "commits": 12, + "total": 17 + }, + "totalPrimitives": 19 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 10, + "total": 15 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 10, + "total": 15 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 10, + "total": 15 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 4, + "failures": 0, + "commits": 12, + "total": 17 + }, + "totalPrimitives": 19 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 4, + "failures": 0, + "commits": 12, + "total": 17 + }, + "totalPrimitives": 19 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 4, + "failures": 0, + "commits": 12, + "total": 17 + }, + "totalPrimitives": 19 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-5", + "value": { + "revision": 5, + "rootHash": "root-5" + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 10, + "total": 15 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 10, + "total": 15 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 10, + "total": 15 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + }, + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 3, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 4, + "failures": 0, + "commits": 12, + "total": 17 + }, + "totalPrimitives": 19 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 4, + "failures": 0, + "commits": 12, + "total": 17 + }, + "totalPrimitives": 19 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 10, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 14, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 5 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 4, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 3, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 3, + "outstanding": 3 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 3, + "failures": 0, + "commits": 11, + "total": 16 + }, + "totalPrimitives": 18 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cross-wrapper-barrier-chain", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "destroy", + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 5, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 12, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 500, + "checkedAt": 500, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 5 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 5, + "payloadReads": 0, + "registryWrites": 3, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 4, + "failures": 0, + "commits": 12, + "total": 17 + }, + "totalPrimitives": 19 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/HEAD.json", + "entry": { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/HEAD.json", + "entry": { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/HEAD.json", + "entry": { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/HEAD.json", + "entry": { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/HEAD.json", + "entry": { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/HEAD.json", + "entry": { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/HEAD.json", + "entry": { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/HEAD.json", + "entry": { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/HEAD.json", + "entry": { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/HEAD.json", + "entry": { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/HEAD.json", + "entry": { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/HEAD.json", + "entry": { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/branch.json", + "entry": { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/branch.json", + "entry": { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/branch.json", + "entry": { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/branch.json", + "entry": { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/branch.json", + "entry": { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/branch.json", + "entry": { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/branch.json", + "entry": { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/branch.json", + "entry": { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/branch.json", + "entry": { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/branch.json", + "entry": { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/branch.json", + "entry": { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/branch.json", + "entry": { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/HEAD.json", + "entry": { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/HEAD.json", + "entry": { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/HEAD.json", + "entry": { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/HEAD.json", + "entry": { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/HEAD.json", + "entry": { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/HEAD.json", + "entry": { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/HEAD.json", + "entry": { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/HEAD.json", + "entry": { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/HEAD.json", + "entry": { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/HEAD.json", + "entry": { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/HEAD.json", + "entry": { + "key": "9:p16:other:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/HEAD.json", + "entry": { + "key": "9:p16:other:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/branch.json", + "entry": { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/branch.json", + "entry": { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/branch.json", + "entry": { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/branch.json", + "entry": { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/branch.json", + "entry": { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/branch.json", + "entry": { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/branch.json", + "entry": { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/branch.json", + "entry": { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/branch.json", + "entry": { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/branch.json", + "entry": { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null, + null, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/branch.json", + "entry": { + "key": "9:p16:other:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "9:p16:other:item-2/branch.json", + "entry": { + "key": "9:p16:other:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "9:p16:other:item-3/branch.json", + "entry": { + "key": "9:p16:other:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 17 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 411 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-6", + "value": { + "revision": 6, + "rootHash": "root-6" + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "sequential-reuse", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/branch.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 4, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 5, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + }, + { + "kind": "clear" + }, + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 2, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 3, + "inputBytes": 492 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 0, + "kind": "delete", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:item-0/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 4, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 4, + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 12, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 12, + "phase": "work" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 13, + "phase": "work" + }, + { + "event": "finish", + "id": 13, + "phase": "work" + }, + { + "event": "settle", + "action": 4, + "phase": "work" + }, + { + "event": "admit", + "action": 5, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 5, + "phase": "work" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 14, + "phase": "work" + }, + { + "event": "start", + "id": 15, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 15, + "phase": "work" + }, + { + "event": "finish", + "id": 15, + "phase": "work" + }, + { + "event": "start", + "id": 16, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 16, + "phase": "work" + }, + { + "event": "finish", + "id": 16, + "phase": "work" + }, + { + "event": "settle", + "action": 5, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 17, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 17, + "phase": "cold" + }, + { + "event": "start", + "id": 18, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 18, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 600, + "checkedAt": 600, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 18, + "phase": "cold" + }, + { + "event": "start", + "id": 19, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 19, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 19, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "work": { + "registryReads": 6, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 3, + "registryDeletes": 2, + "payloadDeletes": 2, + "failures": 0, + "commits": 11, + "total": 17 + }, + "totalPrimitives": 20 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "registry-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "registry-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "registry", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected registry-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 5, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 5, + "phase": "cold" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 2, + "total": 5 + }, + "totalPrimitives": 8 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "payload-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + null, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 4, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "payload-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + null, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "fail": "payload", + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "failure", + "id": 2, + "error": "Injected payload-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 1, + "commits": 3, + "total": 6 + }, + "totalPrimitives": 9 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": false, + "stateCorrect": false, + "coldCorrect": false, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": false, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": true + }, + { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "held/branch.json", + "item-0/branch.json", + "kept/branch.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + null, + null + ], + "correct": false + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/branch.json", + "entry": { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/branch.json" + }, + { + "kind": "delete", + "key": "held/branch.json" + } + ], + "values": [ + { + "key": "held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [], + "values": [] + }, + { + "operations": [], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 133, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 162 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/branch.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/branch.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/branch.json", + "held/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/branch.json", + "entry": { + "key": "3:p16:held/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "released", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 1, + "payloadWrites": 1, + "registryDeletes": 0, + "payloadDeletes": 3, + "failures": 1, + "commits": 4, + "total": 7 + }, + "totalPrimitives": 10 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "content", + "effectivePolicy": "content", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "expected": [ + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "item-2/HEAD.json", + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/HEAD.json", + "entry": { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/HEAD.json", + "entry": { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/HEAD.json" + }, + { + "kind": "delete", + "key": "item-2/HEAD.json" + } + ], + "values": [ + { + "key": "item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/HEAD.json" + }, + { + "kind": "delete", + "key": "item-3/HEAD.json" + } + ], + "values": [ + { + "key": "item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 548 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/HEAD.json", + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/HEAD.json", + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/HEAD.json", + "etag": "version-4", + "value": { + "revision": 4, + "rootHash": "root-4" + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/HEAD.json", + "etag": "version-3", + "value": { + "revision": 3, + "rootHash": "root-3" + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": false + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 328 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-1/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 13, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 2, + "payloadReads": 0, + "registryWrites": 2, + "payloadWrites": 2, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 4, + "total": 6 + }, + "totalPrimitives": 16 + }, + { + "arm": "baseline", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 0, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 1, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "baseline", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + }, + { + "arm": "candidate", + "replicate": 2, + "scenario": "split-delegate-control", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "branch", + "callers": 4, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "beforePurge": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + { + "key": "kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "expected": [ + { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": true + }, + { + "key": "unrelated/raw-object", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": true + } + ], + "cold": { + "keys": [ + "item-0/branch.json", + "item-1/branch.json", + "item-2/branch.json", + "item-3/branch.json", + "kept/branch.json" + ], + "returned": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "expected": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/branch.json", + "entry": { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/branch.json", + "entry": { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 2, + "actor": 2, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-2/branch.json", + "entry": { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 3, + "actor": 3, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-3/branch.json", + "entry": { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/branch.json" + }, + { + "kind": "delete", + "key": "item-0/branch.json" + } + ], + "values": [ + { + "key": "item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/branch.json" + }, + { + "kind": "delete", + "key": "item-1/branch.json" + } + ], + "values": [ + { + "key": "item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-2/branch.json" + }, + { + "kind": "delete", + "key": "item-2/branch.json" + } + ], + "values": [ + { + "key": "item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-3/branch.json" + }, + { + "kind": "delete", + "key": "item-3/branch.json" + } + ], + "values": [ + { + "key": "item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 135, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 4, + "inputBytes": 656 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 2, + "actor": 2, + "kind": "set", + "key": "item-2/branch.json", + "phase": "work" + }, + { + "event": "admit", + "action": 3, + "actor": 3, + "kind": "set", + "key": "item-3/branch.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 2, + "action": 2, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 2, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 3, + "action": 3, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-1/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-2/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 7, + "phase": "work" + }, + { + "event": "finish", + "id": 7, + "phase": "work" + }, + { + "event": "start", + "id": 8, + "kind": "set", + "key": "3:p16:item-0/branch.json", + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 8, + "phase": "work" + }, + { + "event": "finish", + "id": 8, + "phase": "work" + }, + { + "event": "start", + "id": 9, + "kind": "set", + "key": "3:p16:item-1/branch.json", + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 9, + "phase": "work" + }, + { + "event": "finish", + "id": 9, + "phase": "work" + }, + { + "event": "start", + "id": 10, + "kind": "set", + "key": "3:p16:item-2/branch.json", + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 10, + "phase": "work" + }, + { + "event": "finish", + "id": 10, + "phase": "work" + }, + { + "event": "start", + "id": 11, + "kind": "set", + "key": "3:p16:item-3/branch.json", + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "work" + }, + { + "event": "commit", + "id": 11, + "phase": "work" + }, + { + "event": "finish", + "id": 11, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "settle", + "action": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 3, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 12, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 12, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 12, + "phase": "cold" + }, + { + "event": "start", + "id": 13, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 13, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 13, + "phase": "cold" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 14, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 14, + "phase": "cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 15, + "entry": { + "key": "3:p16:item-3/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 400, + "checkedAt": 400, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 15, + "phase": "cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "cold" + }, + { + "event": "read", + "id": 16, + "entry": { + "key": "3:p16:kept/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": true + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 16, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 6, + "phase": "purge" + }, + { + "event": "start", + "id": 17, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 17, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-3/branch.json", + "kept/branch.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 17, + "phase": "purge" + }, + { + "event": "start", + "id": 18, + "kind": "delete", + "key": "3:p16:item-3/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 18, + "phase": "purge" + }, + { + "event": "finish", + "id": 18, + "phase": "purge" + }, + { + "event": "start", + "id": 19, + "kind": "delete", + "key": "3:p16:kept/branch.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 19, + "phase": "purge" + }, + { + "event": "finish", + "id": 19, + "phase": "purge" + }, + { + "event": "start", + "id": 20, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 20, + "phase": "purge" + }, + { + "event": "finish", + "id": 20, + "phase": "purge" + }, + { + "event": "start", + "id": 21, + "kind": "get", + "key": "3:p16:item-0/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 21, + "entry": { + "key": "3:p16:item-0/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 21, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 22, + "kind": "get", + "key": "3:p16:item-1/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 22, + "entry": { + "key": "3:p16:item-1/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 22, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 23, + "kind": "get", + "key": "3:p16:item-2/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 23, + "entry": { + "key": "3:p16:item-2/branch.json", + "etag": "immutable-content", + "value": { + "kind": "branch", + "children": { + "a": "immutable-child" + } + }, + "cachedAt": 300, + "checkedAt": 300, + "immutable": true + }, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 23, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 24, + "kind": "get", + "key": "3:p16:item-3/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 24, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 24, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 25, + "kind": "get", + "key": "3:p16:kept/branch.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 25, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 25, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "read", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "start", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 4, + "keys": 4, + "barriers": 0, + "active": 4, + "outstanding": 4 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 3 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": false, + "work": { + "registryReads": 4, + "payloadReads": 0, + "registryWrites": 4, + "payloadWrites": 4, + "registryDeletes": 0, + "payloadDeletes": 0, + "failures": 0, + "commits": 8, + "total": 12 + }, + "totalPrimitives": 26 + } + ] +} diff --git a/benchmarks/shared-persistent-namespace-ordering/results/native-2026-12-03.json b/benchmarks/shared-persistent-namespace-ordering/results/native-2026-12-03.json new file mode 100644 index 0000000..119a00c --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/results/native-2026-12-03.json @@ -0,0 +1,52500 @@ +{ + "schemaVersion": 1, + "sourceCommit": "403d027b79913b9f949f5b58259a3d4d447f4ae6", + "environment": { + "platform": "win32", + "arch": "x64", + "node": "v22.22.2", + "engines": { + "chromium": "153.0.8010.12", + "firefox": "155.0", + "webkit": "26.6" + } + }, + "runner": { + "file": "p16-native.json", + "bytes": 920493, + "sha256": "0d4412c3cabdf4b6b38e438ba62861383ad7591cb8ede0a0f013da4ae530da45" + }, + "stats": { + "startTime": "2026-12-03T18:39:32.736Z", + "duration": 35190.18, + "expected": 54, + "skipped": 0, + "unexpected": 0, + "flaky": 0 + }, + "errors": [], + "cases": [ + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace concurrent-distinct-sets/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 2, + "rowsChecked": 10, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace late-set-delete/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 5, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace late-delete-set/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 6, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace late-set-clear/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 3, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace late-clear-set/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 5, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace independent-key-progress/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace foreign-namespace-progress/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace cleanup-failure/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "cachedAt": 0, + "checkedAt": 0, + "immutable": false, + "value": { + "revision": 0, + "rootHash": "root-0" + } + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 6, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates connection-factory custom namespace/content", + "kind": "factory", + "status": "passed", + "retry": 0, + "observation": { + "policy": "content", + "correct": true, + "sequential": { + "counts": { + "get": 3, + "set": 3, + "delete": 1 + }, + "clones": 2, + "returned": { + "key": "sequential/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "expected": { + "key": "sequential/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "correct": true + }, + "calls": [ + { + "phase": "seed", + "kind": "get", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__" + }, + { + "phase": "seed", + "kind": "set", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__" + }, + { + "phase": "seed", + "kind": "set", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "reset", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "reset", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "concurrent", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "clear", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "cold", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "cold", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "cold", + "kind": "get", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json" + } + ], + "afterSets": [ + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323177881, + "checkedAt": 1796323177881, + "immutable": false, + "value": [ + "first/HEAD.json", + "second/HEAD.json" + ] + }, + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json", + "etag": "version-3", + "cachedAt": 300, + "checkedAt": 300, + "immutable": false, + "value": { + "revision": 3, + "rootHash": "root-3" + } + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323177877, + "checkedAt": 1796323177877, + "immutable": false, + "value": [ + "foreign/HEAD.json" + ] + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "afterClear": [ + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323177877, + "checkedAt": 1796323177877, + "immutable": false, + "value": [ + "foreign/HEAD.json" + ] + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "returned": [ + null, + null + ], + "foreignReturned": { + "key": "foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "foreignExpected": { + "key": "foreign/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "encryption": { + "snapshots": 2, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace concurrent-distinct-sets/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 2, + "rowsChecked": 10, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace late-set-delete/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 5, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace late-delete-set/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 6, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace late-set-clear/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 3, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace late-clear-set/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 5, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace independent-key-progress/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace foreign-namespace-progress/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates encrypted shared namespace cleanup-failure/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "cachedAt": 0, + "checkedAt": 0, + "immutable": false, + "value": { + "revision": 0, + "rootHash": "root-0" + } + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 6, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "chromium", + "title": "coordinates connection-factory custom namespace/locations", + "kind": "factory", + "status": "passed", + "retry": 0, + "observation": { + "policy": "locations", + "correct": true, + "sequential": { + "counts": { + "get": 3, + "set": 3, + "delete": 1 + }, + "clones": 2, + "returned": { + "key": "sequential/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "expected": { + "key": "sequential/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "correct": true + }, + "calls": [ + { + "phase": "seed", + "kind": "get", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__" + }, + { + "phase": "seed", + "kind": "set", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__" + }, + { + "phase": "seed", + "kind": "set", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "reset", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "reset", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "concurrent", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "clear", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "cold", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "cold", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "cold", + "kind": "get", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json" + } + ], + "afterSets": [ + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323178844, + "checkedAt": 1796323178844, + "immutable": false, + "value": [ + "first/HEAD.json", + "second/HEAD.json" + ] + }, + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json", + "etag": "version-3", + "cachedAt": 300, + "checkedAt": 300, + "immutable": false, + "value": { + "revision": 3, + "rootHash": "root-3" + } + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323178838, + "checkedAt": 1796323178838, + "immutable": false, + "value": [ + "foreign/HEAD.json" + ] + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "afterClear": [ + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323178838, + "checkedAt": 1796323178838, + "immutable": false, + "value": [ + "foreign/HEAD.json" + ] + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "returned": [ + null, + null + ], + "foreignReturned": { + "key": "foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "foreignExpected": { + "key": "foreign/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "encryption": { + "snapshots": 2, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace concurrent-distinct-sets/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 2, + "rowsChecked": 10, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace late-set-delete/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 5, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace late-delete-set/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 6, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace late-set-clear/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 3, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace late-clear-set/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 5, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace independent-key-progress/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace foreign-namespace-progress/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace cleanup-failure/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "cachedAt": 0, + "checkedAt": 0, + "immutable": false, + "value": { + "revision": 0, + "rootHash": "root-0" + } + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 6, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates connection-factory custom namespace/content", + "kind": "factory", + "status": "passed", + "retry": 0, + "observation": { + "policy": "content", + "correct": true, + "sequential": { + "counts": { + "get": 3, + "set": 3, + "delete": 1 + }, + "clones": 2, + "returned": { + "key": "sequential/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "expected": { + "key": "sequential/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "correct": true + }, + "calls": [ + { + "phase": "seed", + "kind": "get", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__" + }, + { + "phase": "seed", + "kind": "set", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__" + }, + { + "phase": "seed", + "kind": "set", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "reset", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "reset", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "concurrent", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "clear", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "cold", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "cold", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "cold", + "kind": "get", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json" + } + ], + "afterSets": [ + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323183823, + "checkedAt": 1796323183823, + "immutable": false, + "value": [ + "first/HEAD.json", + "second/HEAD.json" + ] + }, + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json", + "etag": "version-3", + "cachedAt": 300, + "checkedAt": 300, + "immutable": false, + "value": { + "revision": 3, + "rootHash": "root-3" + } + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323183806, + "checkedAt": 1796323183806, + "immutable": false, + "value": [ + "foreign/HEAD.json" + ] + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "afterClear": [ + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323183806, + "checkedAt": 1796323183806, + "immutable": false, + "value": [ + "foreign/HEAD.json" + ] + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "returned": [ + null, + null + ], + "foreignReturned": { + "key": "foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "foreignExpected": { + "key": "foreign/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "encryption": { + "snapshots": 2, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace concurrent-distinct-sets/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 2, + "rowsChecked": 10, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace late-set-delete/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 5, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace late-delete-set/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 6, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace late-set-clear/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 3, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace late-clear-set/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 5, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace independent-key-progress/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace foreign-namespace-progress/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates encrypted shared namespace cleanup-failure/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "cachedAt": 0, + "checkedAt": 0, + "immutable": false, + "value": { + "revision": 0, + "rootHash": "root-0" + } + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 6, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "firefox", + "title": "coordinates connection-factory custom namespace/locations", + "kind": "factory", + "status": "passed", + "retry": 0, + "observation": { + "policy": "locations", + "correct": true, + "sequential": { + "counts": { + "get": 3, + "set": 3, + "delete": 1 + }, + "clones": 2, + "returned": { + "key": "sequential/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "expected": { + "key": "sequential/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "correct": true + }, + "calls": [ + { + "phase": "seed", + "kind": "get", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__" + }, + { + "phase": "seed", + "kind": "set", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__" + }, + { + "phase": "seed", + "kind": "set", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "reset", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "reset", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "concurrent", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "clear", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "cold", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "cold", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "cold", + "kind": "get", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json" + } + ], + "afterSets": [ + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323190662, + "checkedAt": 1796323190662, + "immutable": false, + "value": [ + "first/HEAD.json", + "second/HEAD.json" + ] + }, + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json", + "etag": "version-3", + "cachedAt": 300, + "checkedAt": 300, + "immutable": false, + "value": { + "revision": 3, + "rootHash": "root-3" + } + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323190649, + "checkedAt": 1796323190649, + "immutable": false, + "value": [ + "foreign/HEAD.json" + ] + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "afterClear": [ + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323190649, + "checkedAt": 1796323190649, + "immutable": false, + "value": [ + "foreign/HEAD.json" + ] + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "returned": [ + null, + null + ], + "foreignReturned": { + "key": "foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "foreignExpected": { + "key": "foreign/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "encryption": { + "snapshots": 2, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace concurrent-distinct-sets/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "concurrent-distinct-sets", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 2, + "rowsChecked": 10, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace late-set-delete/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-set-delete", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 5, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace late-delete-set/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-delete-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 6, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace late-set-clear/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-set-clear", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 3, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace late-clear-set/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-clear-set", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 5, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace independent-key-progress/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "independent-key-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace foreign-namespace-progress/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "foreign-namespace-progress", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace cleanup-failure/content", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "cleanup-failure", + "policy": "content", + "effectivePolicy": "content", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "cachedAt": 0, + "checkedAt": 0, + "immutable": false, + "value": { + "revision": 0, + "rootHash": "root-0" + } + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "content", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 6, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates connection-factory custom namespace/content", + "kind": "factory", + "status": "passed", + "retry": 0, + "observation": { + "policy": "content", + "correct": true, + "sequential": { + "counts": { + "get": 3, + "set": 3, + "delete": 1 + }, + "clones": 2, + "returned": { + "key": "sequential/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "expected": { + "key": "sequential/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "correct": true + }, + "calls": [ + { + "phase": "seed", + "kind": "get", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__" + }, + { + "phase": "seed", + "kind": "set", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__" + }, + { + "phase": "seed", + "kind": "set", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "reset", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "reset", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "concurrent", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "clear", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "cold", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "cold", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "cold", + "kind": "get", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json" + } + ], + "afterSets": [ + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323199080, + "checkedAt": 1796323199080, + "immutable": false, + "value": [ + "first/HEAD.json", + "second/HEAD.json" + ] + }, + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json", + "etag": "version-3", + "cachedAt": 300, + "checkedAt": 300, + "immutable": false, + "value": { + "revision": 3, + "rootHash": "root-3" + } + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323198726, + "checkedAt": 1796323198726, + "immutable": false, + "value": [ + "foreign/HEAD.json" + ] + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "afterClear": [ + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323198726, + "checkedAt": 1796323198726, + "immutable": false, + "value": [ + "foreign/HEAD.json" + ] + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "returned": [ + null, + null + ], + "foreignReturned": { + "key": "foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "foreignExpected": { + "key": "foreign/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "encryption": { + "snapshots": 2, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace concurrent-distinct-sets/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "concurrent-distinct-sets", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": { + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "cold": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null, + null + ], + "expected": [ + null, + null, + null + ], + "correct": true + } + }, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "namespace-io", + "actor": 4, + "phase": "purge" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "read", + "id": 9, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "purge" + }, + { + "event": "finish", + "id": 9, + "phase": "purge" + }, + { + "event": "start", + "id": 10, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "purge" + }, + { + "event": "start", + "id": 11, + "kind": "delete", + "key": "3:p16:item-1/HEAD.json", + "phase": "purge" + }, + { + "event": "start", + "id": 12, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "purge" + }, + { + "event": "commit", + "id": 10, + "phase": "purge" + }, + { + "event": "finish", + "id": 10, + "phase": "purge" + }, + { + "event": "commit", + "id": 11, + "phase": "purge" + }, + { + "event": "finish", + "id": 11, + "phase": "purge" + }, + { + "event": "commit", + "id": 12, + "phase": "purge" + }, + { + "event": "finish", + "id": 12, + "phase": "purge" + }, + { + "event": "start", + "id": 13, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "purge" + }, + { + "event": "commit", + "id": 13, + "phase": "purge" + }, + { + "event": "finish", + "id": 13, + "phase": "purge" + }, + { + "event": "start", + "id": 14, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 14, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 14, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 15, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 15, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 15, + "phase": "post-purge-cold" + }, + { + "event": "start", + "id": 16, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "post-purge-cold" + }, + { + "event": "read", + "id": 16, + "entry": null, + "phase": "post-purge-cold" + }, + { + "event": "finish", + "id": 16, + "phase": "post-purge-cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "purge", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "purge", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "post-purge-cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": false, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 2, + "rowsChecked": 10, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace late-set-delete/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-set-delete", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 5, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace late-delete-set/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-delete-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "delete", + "settled": true, + "key": "item-0/HEAD.json", + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "delete", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 0, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 0, + "phase": "work" + }, + { + "event": "commit", + "id": 0, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 1, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 6, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace late-set-clear/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-set-clear", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + null, + null + ], + "expected": [ + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "clear", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 3, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace late-clear-set/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "late-clear-set", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + null + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "clear", + "settled": true, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 137 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "clear", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:item-0/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 1, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": null, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 5, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace independent-key-progress/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "independent-key-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:item-1/HEAD.json", + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace foreign-namespace-progress/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "foreign-namespace-progress", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "item-0/HEAD.json", + "item-1/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "expected": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + null, + { + "key": "kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + } + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "item-0/HEAD.json", + "entry": { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + }, + { + "id": 1, + "actor": 1, + "namespace": "p16:other", + "kind": "set", + "settled": true, + "key": "item-1/HEAD.json", + "entry": { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "set", + "key": "item-0/HEAD.json" + }, + { + "kind": "delete", + "key": "item-0/HEAD.json" + } + ], + "values": [ + { + "key": "item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + } + ] + }, + { + "operations": [ + { + "kind": "set", + "key": "item-1/HEAD.json" + }, + { + "kind": "delete", + "key": "item-1/HEAD.json" + } + ], + "values": [ + { + "key": "item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 107, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 2, + "inputBytes": 274 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "set", + "key": "item-0/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 1, + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "set", + "key": "3:p16:item-0/HEAD.json", + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "item-1/HEAD.json", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "get", + "key": "9:p16:other:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 3, + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "set", + "key": "9:p16:other:__thimbledb_cache_keys__", + "entry": { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json", + "item-1/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 4, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "9:p16:other:item-1/HEAD.json", + "entry": { + "key": "9:p16:other:item-1/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 6, + "entry": { + "key": "3:p16:item-0/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 6, + "phase": "cold" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:item-1/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "read", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 2, + "keys": 2, + "barriers": 0, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": false, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates encrypted shared namespace cleanup-failure/locations", + "kind": "schedule", + "status": "passed", + "retry": 0, + "observation": { + "scenario": "cleanup-failure", + "policy": "locations", + "effectivePolicy": "locations", + "shape": "head", + "callers": 2, + "options": {}, + "correct": true, + "stateCorrect": true, + "coldCorrect": true, + "memoryCorrect": true, + "metricsCorrect": true, + "outcomesCorrect": true, + "progress": true, + "conflictingBlocked": true, + "resourcesClean": true, + "resourcesBound": true, + "initial": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:kept/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "actual": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "cachedAt": 0, + "checkedAt": 0, + "immutable": false, + "value": { + "revision": 0, + "rootHash": "root-0" + } + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "item-0/HEAD.json" + ] + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false, + "value": { + "revision": 99, + "rootHash": "root-99" + } + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false, + "value": { + "revision": 777, + "rootHash": "root-777" + } + } + ], + "expected": [ + { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "3:p16:failure/HEAD.json", + "etag": "version-0", + "value": { + "revision": 0, + "rootHash": "root-0" + }, + "cachedAt": 0, + "checkedAt": 0, + "immutable": false + }, + { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + { + "key": "9:p16:other:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "item-0/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + { + "key": "9:p16:other:item-0/HEAD.json", + "etag": "version-99", + "value": { + "revision": 99, + "rootHash": "root-99" + }, + "cachedAt": 9900, + "checkedAt": 9900, + "immutable": false + }, + { + "key": "unrelated/raw-object", + "etag": "version-777", + "value": { + "revision": 777, + "rootHash": "root-777" + }, + "cachedAt": 77700, + "checkedAt": 77700, + "immutable": false + } + ], + "beforePurge": { + "keys": [ + "held/HEAD.json", + "item-0/HEAD.json", + "kept/HEAD.json" + ], + "returned": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + null, + null + ], + "expected": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + null, + null + ], + "correct": true + }, + "purge": null, + "actions": [ + { + "id": 0, + "actor": 0, + "namespace": "p16", + "kind": "destroy", + "settled": true, + "fail": "cleanup", + "admitted": true, + "outcome": "Injected cleanup-failure failure", + "originalReason": true + }, + { + "id": 1, + "actor": 1, + "namespace": "p16", + "kind": "set", + "settled": true, + "key": "held/HEAD.json", + "entry": { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "admitted": true, + "outcome": "fulfilled" + } + ], + "memory": [ + { + "operations": [ + { + "kind": "clear" + } + ], + "values": [] + }, + { + "operations": [ + { + "kind": "set", + "key": "held/HEAD.json" + }, + { + "kind": "delete", + "key": "held/HEAD.json" + } + ], + "values": [ + { + "key": "held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + } + ] + } + ], + "metrics": [ + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 0, + "memoryEntries": 0, + "memoryBytes": 0, + "evictions": 0, + "persistentErrors": 1, + "persistentAvailable": false, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + }, + { + "policy": "locations", + "memoryHits": 0, + "indexedDbHits": 0, + "misses": 0, + "writes": 1, + "memoryEntries": 1, + "memoryBytes": 105, + "evictions": 0, + "persistentErrors": 0, + "persistentAvailable": true, + "persistentEvictions": 0, + "persistentQuotaRetries": 0, + "persistentQuotaRecoveries": 0, + "persistentSkippedWrites": 0 + } + ], + "workClones": { + "calls": 1, + "inputBytes": 135 + }, + "events": [ + { + "event": "admit", + "action": 0, + "actor": 0, + "kind": "destroy", + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 0, + "action": 0, + "phase": "work" + }, + { + "event": "start", + "id": 0, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "read", + "id": 0, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 0, + "phase": "work" + }, + { + "event": "start", + "id": 1, + "kind": "delete", + "key": "3:p16:failure/HEAD.json", + "phase": "work" + }, + { + "event": "failure", + "id": 1, + "error": "Injected cleanup-failure failure", + "phase": "work" + }, + { + "event": "finish", + "id": 1, + "phase": "work" + }, + { + "event": "start", + "id": 2, + "kind": "delete", + "key": "3:p16:held/HEAD.json", + "phase": "work" + }, + { + "event": "gate", + "id": 2, + "phase": "work" + }, + { + "event": "start", + "id": 3, + "kind": "delete", + "key": "3:p16:kept/HEAD.json", + "phase": "work" + }, + { + "event": "admit", + "action": 1, + "actor": 1, + "kind": "set", + "key": "held/HEAD.json", + "phase": "work" + }, + { + "event": "checkpoint", + "kind": "before-release", + "phase": "work" + }, + { + "event": "released", + "id": 2, + "phase": "work" + }, + { + "event": "commit", + "id": 3, + "phase": "work" + }, + { + "event": "finish", + "id": 3, + "phase": "work" + }, + { + "event": "commit", + "id": 2, + "phase": "work" + }, + { + "event": "finish", + "id": 2, + "phase": "work" + }, + { + "event": "namespace-io", + "actor": 1, + "action": 1, + "phase": "work" + }, + { + "event": "start", + "id": 4, + "kind": "get", + "key": "3:p16:__thimbledb_cache_keys__", + "phase": "work" + }, + { + "event": "settle", + "action": 0, + "phase": "work" + }, + { + "event": "read", + "id": 4, + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false, + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ] + }, + "phase": "work" + }, + { + "event": "finish", + "id": 4, + "phase": "work" + }, + { + "event": "start", + "id": 5, + "kind": "set", + "key": "3:p16:__thimbledb_cache_keys__", + "entry": { + "key": "3:p16:__thimbledb_cache_keys__", + "etag": "", + "value": [ + "failure/HEAD.json", + "held/HEAD.json", + "kept/HEAD.json" + ], + "cachedAt": 1700000000000, + "checkedAt": 1700000000000, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 5, + "phase": "work" + }, + { + "event": "finish", + "id": 5, + "phase": "work" + }, + { + "event": "start", + "id": 6, + "kind": "set", + "key": "3:p16:held/HEAD.json", + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "value": { + "revision": 2, + "rootHash": "root-2" + }, + "cachedAt": 200, + "checkedAt": 200, + "immutable": false + }, + "phase": "work" + }, + { + "event": "commit", + "id": 6, + "phase": "work" + }, + { + "event": "finish", + "id": 6, + "phase": "work" + }, + { + "event": "settle", + "action": 1, + "phase": "work" + }, + { + "event": "quiescent", + "phase": "work" + }, + { + "event": "start", + "id": 7, + "kind": "get", + "key": "3:p16:held/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 7, + "entry": { + "key": "3:p16:held/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + "phase": "cold" + }, + { + "event": "finish", + "id": 7, + "phase": "cold" + }, + { + "event": "start", + "id": 8, + "kind": "get", + "key": "3:p16:item-0/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 8, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 8, + "phase": "cold" + }, + { + "event": "start", + "id": 9, + "kind": "get", + "key": "3:p16:kept/HEAD.json", + "phase": "cold" + }, + { + "event": "read", + "id": 9, + "entry": null, + "phase": "cold" + }, + { + "event": "finish", + "id": 9, + "phase": "cold" + } + ], + "coordinator": [ + { + "phase": "work", + "event": "admit", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 1 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "failure", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "gate", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "admit", + "namespaces": 1, + "keys": 0, + "barriers": 1, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "checkpoint", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "released", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 1, + "active": 2, + "outstanding": 2 + }, + { + "phase": "work", + "event": "namespace-io", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 2 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "read", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "start", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "commit", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "finish", + "namespaces": 1, + "keys": 1, + "barriers": 0, + "active": 1, + "outstanding": 1 + }, + { + "phase": "work", + "event": "settle", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "work", + "event": "quiescent", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "start", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "read", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + }, + { + "phase": "cold", + "event": "finish", + "namespaces": 0, + "keys": 0, + "barriers": 0, + "active": 0, + "outstanding": 0 + } + ], + "gateUsed": true, + "failureUsed": true, + "scopedProtection": true, + "encryption": { + "snapshots": 1, + "rowsChecked": 6, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + }, + { + "engine": "webkit", + "title": "coordinates connection-factory custom namespace/locations", + "kind": "factory", + "status": "passed", + "retry": 0, + "observation": { + "policy": "locations", + "correct": true, + "sequential": { + "counts": { + "get": 3, + "set": 3, + "delete": 1 + }, + "clones": 2, + "returned": { + "key": "sequential/HEAD.json", + "etag": "version-1", + "cachedAt": 100, + "checkedAt": 100, + "immutable": false, + "value": { + "revision": 1, + "rootHash": "root-1" + } + }, + "expected": { + "key": "sequential/HEAD.json", + "etag": "version-1", + "value": { + "revision": 1, + "rootHash": "root-1" + }, + "cachedAt": 100, + "checkedAt": 100, + "immutable": false + }, + "correct": true + }, + "calls": [ + { + "phase": "seed", + "kind": "get", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__" + }, + { + "phase": "seed", + "kind": "set", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__" + }, + { + "phase": "seed", + "kind": "set", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:sequential/HEAD.json" + }, + { + "phase": "sequential", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "sequential", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "reset", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "reset", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "concurrent", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "concurrent", + "kind": "set", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "clear", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "clear", + "kind": "delete", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__" + }, + { + "phase": "cold", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json" + }, + { + "phase": "cold", + "kind": "get", + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json" + }, + { + "phase": "cold", + "kind": "get", + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json" + } + ], + "afterSets": [ + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323207169, + "checkedAt": 1796323207169, + "immutable": false, + "value": [ + "first/HEAD.json", + "second/HEAD.json" + ] + }, + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:first/HEAD.json", + "etag": "version-2", + "cachedAt": 200, + "checkedAt": 200, + "immutable": false, + "value": { + "revision": 2, + "rootHash": "root-2" + } + }, + { + "key": "53:local:https://p16.example.test:/api/objects:p16-owner:second/HEAD.json", + "etag": "version-3", + "cachedAt": 300, + "checkedAt": 300, + "immutable": false, + "value": { + "revision": 3, + "rootHash": "root-3" + } + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323206833, + "checkedAt": 1796323206833, + "immutable": false, + "value": [ + "foreign/HEAD.json" + ] + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "afterClear": [ + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:__thimbledb_cache_keys__", + "etag": "", + "cachedAt": 1796323206833, + "checkedAt": 1796323206833, + "immutable": false, + "value": [ + "foreign/HEAD.json" + ] + }, + { + "key": "59:local:https://p16.example.test:/api/objects:p16-owner:other:foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + } + ], + "returned": [ + null, + null + ], + "foreignReturned": { + "key": "foreign/HEAD.json", + "etag": "version-90", + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false, + "value": { + "revision": 90, + "rootHash": "root-90" + } + }, + "foreignExpected": { + "key": "foreign/HEAD.json", + "etag": "version-90", + "value": { + "revision": 90, + "rootHash": "root-90" + }, + "cachedAt": 9000, + "checkedAt": 9000, + "immutable": false + }, + "encryption": { + "snapshots": 2, + "rowsChecked": 7, + "encryptedRowsOnly": true, + "nonExtractableAesKey": true + } + } + } + ] +} diff --git a/benchmarks/shared-persistent-namespace-ordering/results/qualification-2026-12-03.json b/benchmarks/shared-persistent-namespace-ordering/results/qualification-2026-12-03.json new file mode 100644 index 0000000..5ec2728 --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/results/qualification-2026-12-03.json @@ -0,0 +1,281 @@ +{ + "schemaVersion": 1, + "sourceCommit": "403d027b79913b9f949f5b58259a3d4d447f4ae6", + "baseline": "e615fda1ef8c091070e9c2970fa86ffe7b32e887", + "protocolSha256": "f4d0e787a6da4079bca804102fec1ba23d161dfbdf8be3a83138046d5fe1c6ce", + "environment": { + "platform": "win32", + "arch": "x64", + "node": "v22.22.2", + "engines": { + "chromium": "153.0.8010.12", + "firefox": "155.0", + "webkit": "26.6" + } + }, + "frozenInputs": 81, + "comparative": { + "file": "local-2026-12-03.json", + "bytes": 23427381, + "sha256": "bf44d97e73b4476830fcce24503112152994e1ac5d80cb0f0ec85023af3d154a", + "rows": 768, + "pairs": 384, + "primitiveCalls": 9552, + "gates": { + "sourceUnchanged": true, + "allCandidateContracts": true, + "baselinePrimaryReproduced": true, + "scopeBoundaryRetained": true, + "pairedMemoryAndOutcomes": true, + "withinLimits": true + }, + "baselineCorrect": 120, + "candidateCorrect": 384 + }, + "independentReplay": { + "complete": true, + "sourceCommit": "403d027b79913b9f949f5b58259a3d4d447f4ae6", + "inputs": 81, + "rows": 768, + "baselineCorrect": 120, + "candidateCorrect": 384, + "primitives": 9552, + "reads": 4800, + "commits": 4608, + "failures": 144, + "pairs": 384 + }, + "focused": [ + { + "file": "p16-exact-baseline-initial.json", + "role": "historical initial focused negative comparison", + "bytes": 414860, + "sha256": "6ab211635947682326fe35d6bfe15c6e6dc3a09d8595fa1f03d1ff4629e8ee13", + "files": 1, + "total": 44, + "passed": 14, + "failed": 30, + "skipped": 0, + "runtimeErrors": 0 + }, + { + "file": "p16-candidate-focused-initial.json", + "role": "candidate initial focused cases", + "bytes": 13966, + "sha256": "4ab605fd7908cbb0fb2add6f5ac58ded958d732a77b68af0808bc3164ac01a65", + "files": 1, + "total": 44, + "passed": 44, + "failed": 0, + "skipped": 0, + "runtimeErrors": 0 + }, + { + "file": "p16-candidate-controls-initial.json", + "role": "superseded factory clone assertions", + "bytes": 152313, + "sha256": "201f99c4f01eeacefc5b249bf40758077ad9f8168de974a0d9813ee1d6327942", + "files": 12, + "total": 496, + "passed": 494, + "failed": 2, + "skipped": 0, + "runtimeErrors": 0 + }, + { + "file": "p16-exact-baseline.json", + "role": "historical final focused negative comparison", + "bytes": 1568172, + "sha256": "5128f5541a7d6c110e68724f2e45a6ed58a74a69c5649d0022c9ae1f7b267c5c", + "files": 1, + "total": 142, + "passed": 44, + "failed": 98, + "skipped": 0, + "runtimeErrors": 0 + }, + { + "file": "p16-candidate-controls.json", + "role": "candidate final focused and existing controls", + "bytes": 151671, + "sha256": "a58408e2c9ad30f2c0d2406b6b90e24785fc67a7c8d165e294be7874c91ab908", + "files": 12, + "total": 496, + "passed": 496, + "failed": 0, + "skipped": 0, + "runtimeErrors": 0 + } + ], + "native": { + "file": "native-2026-12-03.json", + "bytes": 1351798, + "sha256": "ccc306bef92dac7859d2b1fb427d107896b53fc1722642c873ed799083147b23", + "cases": 54, + "stats": { + "startTime": "2026-12-03T18:39:32.736Z", + "duration": 35190.18, + "expected": 54, + "skipped": 0, + "unexpected": 0, + "flaky": 0 + } + }, + "nativeInvocations": [ + { + "sourceCommit": "403d027b79913b9f949f5b58259a3d4d447f4ae6", + "startedAt": "2026-12-03T18:37:58.4845713+00:00", + "finishedAt": "2026-12-03T18:38:02.9044402+00:00", + "exitCode": 1, + "command": "npx --no-install playwright test tests\\e2e\\cache-shared-namespace.spec.ts --reporter=json", + "cleanup": { + "invocation": "p16-native-empty-selection", + "ownedEntries": 3, + "timestampsMatched": true, + "noReparsePoints": true, + "listenersStopped": true, + "keyRead": false, + "generatedPathsRemoved": true + }, + "report": { + "file": "p16-native-empty-selection.json", + "bytes": 2953, + "sha256": "f4c3960b46f7f8ecec25f1ecf6252dc0c92f54e8e70dcecc48c52b14dcb6dd2a" + } + }, + { + "sourceCommit": "403d027b79913b9f949f5b58259a3d4d447f4ae6", + "startedAt": "2026-12-03T18:39:31.6332708+00:00", + "finishedAt": "2026-12-03T18:40:07.9689785+00:00", + "exitCode": 0, + "command": "npx --no-install playwright test cache-shared-namespace\\.spec\\.ts --reporter=json", + "cleanup": { + "invocation": "p16-native", + "ownedEntries": 3, + "timestampsMatched": true, + "noReparsePoints": true, + "listenersStopped": true, + "keyRead": false, + "generatedPathsRemoved": true + }, + "report": { + "file": "p16-native.json", + "bytes": 920493, + "sha256": "0d4412c3cabdf4b6b38e438ba62861383ad7591cb8ede0a0f013da4ae530da45" + } + } + ], + "packedCleanup": { + "sourceCommit": "403d027b79913b9f949f5b58259a3d4d447f4ae6", + "packedModuleSha256": "bb607ad6bdcdda522974b7345c994ebc726407213fe2ace310ea0c6cc09af89c", + "cases": [ + { + "reason": "error", + "correct": true, + "stoppedAtSynchronousThrow": true, + "drainedEarlierDelete": true, + "peerBlockedUntilDrain": true, + "exactOriginalReason": true, + "laterKeyPreserved": true, + "replacementSurvived": true, + "trackingRetained": true, + "coordinatorReleased": true, + "startedDeletes": [ + "7:cleanup:a-held", + "7:cleanup:b-fail" + ] + }, + { + "reason": "undefined", + "correct": true, + "stoppedAtSynchronousThrow": true, + "drainedEarlierDelete": true, + "peerBlockedUntilDrain": true, + "exactOriginalReason": true, + "laterKeyPreserved": true, + "replacementSurvived": true, + "trackingRetained": true, + "coordinatorReleased": true, + "startedDeletes": [ + "7:cleanup:a-held", + "7:cleanup:b-fail" + ] + } + ] + }, + "retainedLocalRunnerReports": 7, + "retainedLogs": [ + { + "file": "p16-candidate-controls-initial.log", + "bytes": 141, + "sha256": "eed4272c4f1cfe1844a6c7c1f60ca35e56dc505625b40df954aaab4b86fc3b22" + }, + { + "file": "p16-candidate-controls.log", + "bytes": 133, + "sha256": "b74f5ac7fa6531d39cee1e1cb491c715f2772193673750ae5caa79e280457ce7" + }, + { + "file": "p16-candidate-focused-initial.log", + "bytes": 140, + "sha256": "1cf4dcbf1128257e1d448f0e4c40804093949400d5637672702692aa34314115" + }, + { + "file": "p16-capture.log", + "bytes": 8431, + "sha256": "2e032d3d2c00b9970af3edf159d6cb492f44ab0f64429b29c5263ca23587a07c" + }, + { + "file": "p16-docs.log", + "bytes": 786, + "sha256": "9ede4de839dd31ac7547303b57bfe47582e741fd773317cfffc6fd512c32270b" + }, + { + "file": "p16-exact-baseline-initial.log", + "bytes": 137, + "sha256": "50d3a08a54ad76abe74f68a84179cafcdd13ce81dea8b5221bb4825401a44faf" + }, + { + "file": "p16-exact-baseline.log", + "bytes": 129, + "sha256": "5d501e46c4c3c1473c193c99419b1cdd1476133064706910a99cefe89d956137" + }, + { + "file": "p16-fixture-types-initial.log", + "bytes": 286, + "sha256": "4165c0835e11c29e076d1b09568f665f93ef771e337a7d93ea13fca140c617e3" + }, + { + "file": "p16-frozen-types.log", + "bytes": 0, + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "file": "p16-independent-replay.log", + "bytes": 218, + "sha256": "d2f9bc060213583130492b4b6e324627ca52e1489737bb2e7613152ac33008e9" + }, + { + "file": "p16-native-empty-selection.log", + "bytes": 170, + "sha256": "98287cabe76633920bea2ca26647127556c9d0e1e95b2cd9be23d44bda426cc5" + }, + { + "file": "p16-native.log", + "bytes": 7519, + "sha256": "3246c00cce06290adb4ca16a19a3e9d32beac3bf2f5d29d07a61bbbd5cb6e1c9" + }, + { + "file": "p16-package.log", + "bytes": 1196, + "sha256": "837d1a92db3509f854f7801ebea9de3361104a3f150fc4ce8737922083cd575c" + } + ], + "checks": { + "productionRootCollectorNativeTypes": "passed", + "packageAndIsolatedConsumers": "passed", + "rootStudioWorkerAndCanonicalDocs": "passed", + "repositoryLinks": "passed", + "exactPublicationHeadCiAndCodeql": "Required before merge; consult pull-request checks" + } +} diff --git a/benchmarks/shared-persistent-namespace-ordering/run.ts b/benchmarks/shared-persistent-namespace-ordering/run.ts new file mode 100644 index 0000000..9ae938e --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/run.ts @@ -0,0 +1,185 @@ +import assert from "node:assert/strict"; +import { execFileSync } from "node:child_process"; +import { createHash } from "node:crypto"; +import { access, mkdir, readFile, writeFile } from "node:fs/promises"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import { isDeepStrictEqual, parseArgs } from "node:util"; +import ts from "typescript"; +import { currentRuntime, runTrial, scenarios, type Policy, type Runtime, type Shape } from "./fixtures.js"; + +const here = path.dirname(fileURLToPath(import.meta.url)), root = path.resolve(here, "..", ".."); +const git = (...arguments_: string[]) => execFileSync("git", ["--no-pager", ...arguments_], { cwd: root, maxBuffer: 64 * 1024 * 1024 }); +const sha = (value: string | Uint8Array) => createHash("sha256").update(value).digest("hex"); +const normal = (value: string | Buffer) => value.toString().replace(/\r\n/g, "\n"); +const { values } = parseArgs({ options: { output: { type: "string" } } }); +assert.ok(values.output, "Provide --output with an unused JSON filename"); +const output = path.resolve(values.output); +assert.equal(path.dirname(output), path.join(here, "results")); +assert.equal(path.extname(output), ".json"); +const stem = output.slice(0, -5); +for (const file of [output, `${stem}-trials.csv`, `${stem}-contracts.svg`]) { + try { await access(file); } + catch (error) { if ((error as NodeJS.ErrnoException).code === "ENOENT") continue; throw error; } + throw new Error(`Evidence already exists: ${path.basename(file)}`); +} +const protocolText = normal(await readFile(path.join(here, "protocol.json"), "utf8")); +const protocol = JSON.parse(protocolText), sourceCommit = git("rev-parse", "HEAD").toString().trim(); +assert.equal(git("rev-parse", "--abbrev-ref", "HEAD").toString().trim(), "HEAD", "Capture requires a detached source checkout"); +assert.deepEqual(scenarios, protocol.matrix.scenarios); +assert.deepEqual(protocol.matrix.policies, ["content", "locations"]); +assert.deepEqual(protocol.matrix.shapes, ["head", "branch"]); +assert.deepEqual(protocol.matrix.callers, [2, 4]); +assert.deepEqual(git("diff", "--name-only", protocol.baseline, "--", "src").toString().trim().split(/\r?\n/), ["src/browser/cache.ts"]); +const inputs = [...new Set([ + ...git("ls-files", "-z", "--", "src", "package.json", "package-lock.json").toString().split("\0").filter(Boolean), + ...["protocol.json", "fixtures.ts", "factory-fixtures.ts", "native-fixtures.ts", "run.ts", + "verify.mjs", "tsconfig.json", "baseline-vitest.config.ts"].map(file => `benchmarks/shared-persistent-namespace-ordering/${file}`), + "tests/browser-persistent-namespace.test.ts", "tests/e2e/cache-shared-namespace.spec.ts", + "vitest.config.ts", "playwright.config.ts", +])].sort(); +async function inventory() { + return Promise.all(inputs.map(async file => ({ + path: file, sha256: sha(normal(await readFile(path.join(root, ...file.split("/")), "utf8"))), + }))); +} +const source = await inventory(); +for (const input of source) assert.equal(sha(normal(git("show", `${sourceCommit}:${input.path}`))), input.sha256, `Uncommitted input: ${input.path}`); +const historical = normal(git("show", `${protocol.baseline}:src/browser/cache.ts`)); +const compiled = ts.transpileModule(historical, { + compilerOptions: { module: ts.ModuleKind.ESNext, target: ts.ScriptTarget.ES2022 }, +}).outputText; +assert.ok(!/^\s*import\s/m.test(compiled), "Historical cache must have no runtime imports"); +const module = await import(`data:text/javascript;base64,${Buffer.from(compiled).toString("base64")}`); +const baseline: Runtime = { Wrapper: module.NamespacedPersistentObjectCache, Memory: module.MemoryObjectCache, Tiered: module.TieredObjectCache }; +type Trial = Awaited>; +function stats(row: Trial, phase?: string) { + const selected = row.events.filter(event => phase === undefined || event.phase === phase); + const starts = selected.filter(event => event.event === "start"); + const registry = (key?: string) => key?.endsWith(":__thimbledb_cache_keys__"); + const count = (kind: string, marker?: boolean) => starts.filter(event => event.kind === kind && + (marker === undefined || Boolean(registry(event.key)) === marker)).length; + return { + registryReads: count("get", true), payloadReads: count("get", false), + registryWrites: count("set", true), payloadWrites: count("set", false), + registryDeletes: count("delete", true), payloadDeletes: count("delete", false), + failures: selected.filter(event => event.event === "failure").length, + commits: selected.filter(event => event.event === "commit").length, total: starts.length, + }; +} +type Row = Trial & { arm: "baseline" | "candidate"; replicate: number; work: ReturnType; totalPrimitives: number }; +const rows: Row[] = []; +const startedAt = new Date().toISOString(), started = performance.now(); +let fatal: string | null = null, attemptedCase: object | null = null, primitiveCalls = 0; +try { + for (const [s, scenario] of scenarios.entries()) for (const [p, policy] of (protocol.matrix.policies as Policy[]).entries()) { + for (const [h, shape] of (protocol.matrix.shapes as Shape[]).entries()) for (const [c, callers] of (protocol.matrix.callers as Array<2 | 4>).entries()) { + for (let replicate = 0; replicate < protocol.matrix.replicates; replicate++) { + const arms = (s + p + h + c + replicate) % 2 ? ["candidate", "baseline"] as const : ["baseline", "candidate"] as const; + for (const arm of arms) { + attemptedCase = { arm, scenario, policy, shape, callers, replicate }; + assert.ok(performance.now() - started < protocol.limits.maximumRunMinutes * 60_000, "Matrix deadline exceeded"); + const row = await runTrial(arm === "baseline" ? baseline : currentRuntime, scenario, policy, shape, callers); + const totalPrimitives = stats(row).total; + rows.push({ arm, replicate, ...row, work: stats(row, "work"), totalPrimitives }); + primitiveCalls += totalPrimitives; + assert.ok(primitiveCalls <= protocol.limits.maximumPrimitiveCalls, "Primitive call cap exceeded"); + } + } + } + if (p === protocol.matrix.policies.length - 1) console.log(`Captured ${scenario}: ${rows.length}/${protocol.matrix.trialsPerArm * 2} rows`); + } +} catch (error) { fatal = error instanceof Error ? error.stack ?? error.message : String(error); } +const key = (row: Row) => `${row.scenario}/${row.policy}/${row.shape}/${row.callers}/${row.replicate}`; +const baselineRows = new Map(rows.filter(row => row.arm === "baseline").map(row => [key(row), row])); +const candidateRows = new Map(rows.filter(row => row.arm === "candidate").map(row => [key(row), row])); +const primitiveTape = (row: Row) => row.events.filter(event => ["start", "read", "commit", "failure", "finish"].includes(event.event)); +const pairs = [...baselineRows].map(([id, before]) => { + const after = candidateRows.get(id); + return { + id, + memoryAndCloneWorkEqual: Boolean(after && isDeepStrictEqual(before.memory, after.memory) && isDeepStrictEqual(before.workClones, after.workClones)), + metricsAndOutcomesEqual: Boolean(after && isDeepStrictEqual(before.metrics, after.metrics) && isDeepStrictEqual(before.actions, after.actions)), + sequentialPrimitiveTapeEqual: before.scenario === "sequential-reuse" ? Boolean(after && isDeepStrictEqual(primitiveTape(before), primitiveTape(after))) : null, + candidateContract: Boolean(after?.correct), + }; +}); +const summary = scenarios.map(scenario => { + const armSummary = (arm: Row["arm"]) => { + const selected = rows.filter(row => row.scenario === scenario && row.arm === arm); + return { + trials: selected.length, correct: selected.filter(row => row.correct).length, + stateCorrect: selected.filter(row => row.stateCorrect).length, + coldCorrect: selected.filter(row => row.coldCorrect).length, + blockedCorrectly: selected.filter(row => row.conflictingBlocked).length, + workPrimitiveCalls: selected.reduce((sum, row) => sum + row.work.total, 0), + allPrimitiveCalls: selected.reduce((sum, row) => sum + row.totalPrimitives, 0), + workClones: selected.reduce((sum, row) => sum + row.workClones.calls, 0), + workCloneInputBytes: selected.reduce((sum, row) => sum + row.workClones.inputBytes, 0), + peakActive: Math.max(0, ...selected.flatMap(row => row.coordinator.map(sample => sample.active))), + peakKeys: Math.max(0, ...selected.flatMap(row => row.coordinator.map(sample => sample.keys))), + }; + }; + return { scenario, baseline: armSummary("baseline"), candidate: armSummary("candidate") }; +}); +const mainMarker = "3:p16:__thimbledb_cache_keys__"; +const lostMembership = (row: Row) => { + const marker = row.actual.find(value => value.key === mainMarker); + return row.actions.filter(action => action.kind === "set").some(action => !Array.isArray(marker?.value) || !marker.value.includes(action.key!)); +}; +const primary = [...baselineRows.values()].filter(row => row.scenario === "concurrent-distinct-sets"); +const scope = [...candidateRows.values()].filter(row => row.scenario === "split-delegate-control"); +const gates = { + sourceUnchanged: isDeepStrictEqual(source, await inventory()) && sourceCommit === git("rev-parse", "HEAD").toString().trim(), + allCandidateContracts: [...candidateRows.values()].every(row => row.correct), + baselinePrimaryReproduced: primary.length === 24 && primary.every(row => lostMembership(row) && + row.actions.every(action => action.outcome === "fulfilled") && row.metrics.every(value => value.persistentErrors === 0) && + row.purge?.cold.returned.some(value => value !== null)), + scopeBoundaryRetained: scope.length === 24 && scope.every(row => row.correct && !row.scopedProtection && + lostMembership(row) && row.purge?.cold.returned.some(value => value !== null)), + pairedMemoryAndOutcomes: pairs.every(pair => pair.memoryAndCloneWorkEqual && pair.metricsAndOutcomesEqual && + pair.sequentialPrimitiveTapeEqual !== false && pair.candidateContract), + withinLimits: primitiveCalls <= protocol.limits.maximumPrimitiveCalls && performance.now() - started < protocol.limits.maximumRunMinutes * 60_000, +}; +const complete = fatal === null && Object.values(gates).every(Boolean) && + rows.length === protocol.matrix.trialsPerArm * 2 && baselineRows.size === protocol.matrix.trialsPerArm && candidateRows.size === protocol.matrix.trialsPerArm; +const result = { + schemaVersion: 1, experiment: protocol.experiment, startedAt, finishedAt: new Date().toISOString(), + environment: { platform: process.platform, arch: process.arch, node: process.version }, + protocolSha256: sha(protocolText), baseline: protocol.baseline, baselineCacheSha256: sha(historical), + sourceCommit, source, complete, fatal, attemptedCase, primitiveCalls, gates, summary, pairs, rows, +}; +await mkdir(path.dirname(output), { recursive: true }); +await writeFile(output, `${JSON.stringify(result, null, 2)}\n`, { flag: "wx" }); +const header = ["arm", "scenario", "policy", "shape", "callers", "replicate", "correct", "stateCorrect", + "coldCorrect", "conflictingBlocked", "progress", "resourcesClean", "resourcesBound", "workPrimitives", + "allPrimitives", "registryReads", "registryWrites", "payloadWrites", "payloadDeletes", "registryDeletes", + "failures", "workClones", "workCloneInputBytes", "peakActive", "peakKeys"]; +const csv = rows.map(row => [ + row.arm, row.scenario, row.policy, row.shape, row.callers, row.replicate, row.correct, row.stateCorrect, + row.coldCorrect, row.conflictingBlocked, row.progress, row.resourcesClean, row.resourcesBound, row.work.total, + row.totalPrimitives, row.work.registryReads, row.work.registryWrites, row.work.payloadWrites, row.work.payloadDeletes, + row.work.registryDeletes, row.work.failures, row.workClones.calls, row.workClones.inputBytes, + Math.max(...row.coordinator.map(sample => sample.active)), Math.max(...row.coordinator.map(sample => sample.keys)), +]); +await writeFile(`${stem}-trials.csv`, [header, ...csv].map(row => + row.map(field => `"${String(field).replaceAll('"', '""')}"`).join(",")).join("\n") + "\n", { flag: "wx" }); +const bars = summary.map((row, index) => { + const y = 84 + index * 36; + return `${row.scenario}` + + `${row.baseline.correct}/24` + + `${row.candidate.correct}/24`; +}); +await writeFile(`${stem}-contracts.svg`, [ + '', + 'Shared persistent namespace contract outcomes', + 'Declared contract passes out of 24 trials per arm and recipe. Baseline is upper red; candidate is lower green. Split-delegate-control passes by retaining the explicitly uncoordinated orphan outcome.', + '', + 'Declared persistent, memory and ordering contracts', + 'Baseline (upper, red); candidate (lower, green). Controlled schedules, no timing inference.', + ...bars, 'Split-delegate-control intentionally retains lost membership and readable orphans.', + 'Source: paired raw event/state rows. Same immediate delegate identity and loaded module only.', + '\n', +].join("\n"), { flag: "wx" }); +console.log(JSON.stringify({ complete, fatal, rows: rows.length, primitiveCalls, sourceCommit, gates, summary })); +if (!complete) process.exitCode = 1; diff --git a/benchmarks/shared-persistent-namespace-ordering/tsconfig.json b/benchmarks/shared-persistent-namespace-ordering/tsconfig.json new file mode 100644 index 0000000..5f8c886 --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/tsconfig.json @@ -0,0 +1,5 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { "noEmit": true }, + "include": ["./*.ts", "../../src/**/*.ts"] +} diff --git a/benchmarks/shared-persistent-namespace-ordering/verify.mjs b/benchmarks/shared-persistent-namespace-ordering/verify.mjs new file mode 100644 index 0000000..d20997b --- /dev/null +++ b/benchmarks/shared-persistent-namespace-ordering/verify.mjs @@ -0,0 +1,317 @@ +import assert from "node:assert/strict"; +import { execFileSync } from "node:child_process"; +import { createHash } from "node:crypto"; +import { readFile } from "node:fs/promises"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import { isDeepStrictEqual as equal } from "node:util"; + +const here = path.dirname(fileURLToPath(import.meta.url)), root = path.resolve(here, "..", ".."); +const git = (...args) => execFileSync("git", ["--no-pager", ...args], { cwd: root, maxBuffer: 64 * 1024 * 1024 }); +const sha = value => createHash("sha256").update(value).digest("hex"); +const normal = value => value.toString().replace(/\r\n/g, "\n"); +assert.ok(process.argv[2], "Provide the raw capture filename"); +const input = path.resolve(process.argv[2]), stem = input.slice(0, -5); +assert.equal(path.dirname(input), path.join(here, "results")); +assert.equal(path.extname(input), ".json"); +const capture = JSON.parse(await readFile(input, "utf8")); +for (const commit of [capture.sourceCommit, capture.baseline]) assert.match(commit, /^[a-f0-9]{40}$/); +const protocolText = normal(git("show", `${capture.sourceCommit}:benchmarks/shared-persistent-namespace-ordering/protocol.json`)); +const protocol = JSON.parse(protocolText); +assert.equal(capture.protocolSha256, sha(protocolText)); +assert.equal(capture.baseline, protocol.baseline); +assert.equal(capture.baselineCacheSha256, sha(normal(git("show", `${capture.baseline}:src/browser/cache.ts`)))); +assert.equal(new Set(capture.source.map(item => item.path)).size, capture.source.length); +for (const item of capture.source) { + assert.match(item.path, /^[A-Za-z0-9_./-]+$/); assert.ok(!item.path.includes("..")); + assert.equal(sha(normal(git("show", `${capture.sourceCommit}:${item.path}`))), item.sha256, item.path); +} +assert.deepEqual(normal(git("diff", "--name-only", capture.baseline, capture.sourceCommit, "--", "src")).trim().split("\n"), ["src/browser/cache.ts"]); +const ordered = values => [...values].sort((a, b) => a.key < b.key ? -1 : a.key > b.key ? 1 : 0); +const clone = value => structuredClone(value); +const owner = "p16", foreign = "p16:other", clock = 1_700_000_000_000; +const scoped = (namespace, key) => `${namespace.length}:${namespace}:${key}`; +const registry = namespace => scoped(namespace, "__thimbledb_cache_keys__"); +const keysOf = entry => new Set(Array.isArray(entry?.value) && entry.value.every(key => typeof key === "string") ? entry.value : []); +const marker = (namespace, keys) => ({ + key: registry(namespace), etag: "", value: [...keys].sort(), cachedAt: clock, checkedAt: clock, immutable: false, +}); +const entry = (shape, version, key) => ({ + key, etag: shape === "head" ? `version-${version}` : "immutable-content", + value: shape === "head" ? { revision: version, rootHash: `root-${version}` } : { kind: "branch", children: { a: "immutable-child" } }, + cachedAt: version * 100, checkedAt: version * 100, immutable: shape === "branch", +}); +const snapshot = store => ordered(store.values()); +const makeStore = values => new Map(clone(values).map(value => [value.key, value])); +function recipe(row) { + const suffix = row.shape === "head" ? "HEAD.json" : "branch.json"; + const key = `item-0/${suffix}`, keep = `kept/${suffix}`, held = `held/${suffix}`, failure = `failure/${suffix}`; + const other = index => `item-${index}/${suffix}`, actions = []; + const add = (kind, actor, logicalKey = key, fail, namespace = owner) => { + const id = actions.length; + actions.push({ id, actor, namespace, kind, ...(fail ? { fail } : {}), + ...(kind === "set" || kind === "delete" ? { key: logicalKey } : {}), + ...(kind === "set" ? { entry: entry(row.shape, id + 1, logicalKey) } : {}) }); + }; + switch (row.scenario) { + case "concurrent-distinct-sets": case "split-delegate-control": + for (let actor = 0; actor < row.callers; actor++) add("set", actor, other(actor)); break; + case "concurrent-distinct-deletes": + for (let actor = 0; actor < row.callers; actor++) add("delete", actor, other(actor)); break; + case "late-set-delete": add("set", 0); add("delete", 1); break; + case "late-delete-set": add("delete", 0); add("set", 1); break; + case "late-set-clear": case "late-set-destroy": add("set", 0); add(row.scenario.endsWith("clear") ? "clear" : "destroy", 1); break; + case "late-clear-set": case "late-destroy-set": add(row.scenario.startsWith("late-clear") ? "clear" : "destroy", 0); add("set", 1); break; + case "cross-wrapper-barrier-chain": add("set", 0); add("clear", 1); add("set", 2 % row.callers); add("destroy", 3 % row.callers); add("set", 0); break; + case "independent-key-progress": case "foreign-namespace-progress": + add("set", 0); + for (let actor = 1; actor < row.callers; actor++) add("set", actor, other(actor), undefined, row.scenario.startsWith("foreign") ? foreign : owner); + break; + case "sequential-reuse": add("set", 0); add("set", 1); add("delete", 0); add("clear", 1); add("destroy", 0); add("set", 1, other(1)); break; + case "registry-failure": case "payload-failure": add("set", 0, key, row.scenario.startsWith("registry") ? "registry" : "payload"); add("set", 1, other(1)); break; + case "cleanup-failure": add("destroy", 0, key, "cleanup"); add("set", 1, held); break; + default: assert.fail(`Unknown recipe ${row.scenario}`); + } + const initial = new Map(), seed = (namespace, values) => { + for (const value of values) initial.set(scoped(namespace, value.key), { ...value, key: scoped(namespace, value.key) }); + initial.set(registry(namespace), marker(namespace, new Set(values.map(value => value.key)))); + }; + const own = [entry(row.shape, 90, keep)]; + if (row.scenario === "concurrent-distinct-deletes") for (let actor = 0; actor < row.callers; actor++) own.push(entry(row.shape, 0, other(actor))); + if (["late-delete-set", "late-clear-set", "late-destroy-set"].includes(row.scenario)) own.push(entry(row.shape, 0, key)); + if (row.scenario === "cleanup-failure") own.push(entry(row.shape, 0, failure), entry(row.shape, 0, held)); + seed(owner, own); seed(foreign, [entry(row.shape, 99, key)]); + initial.set("unrelated/raw-object", entry(row.shape, 777, "unrelated/raw-object")); + return { actions, initial, key, keep, held, failure, other }; +} +function stats(row, phase) { + const events = row.events.filter(event => phase === undefined || event.phase === phase); + const starts = events.filter(event => event.event === "start"); + const count = (kind, isRegistry) => starts.filter(event => event.kind === kind && + event.key.endsWith(":__thimbledb_cache_keys__") === isRegistry).length; + return { + registryReads: count("get", true), payloadReads: count("get", false), + registryWrites: count("set", true), payloadWrites: count("set", false), + registryDeletes: count("delete", true), payloadDeletes: count("delete", false), + failures: events.filter(event => event.event === "failure").length, + commits: events.filter(event => event.event === "commit").length, total: starts.length, + }; +} +let replayedPrimitives = 0, replayedReads = 0, replayedCommits = 0, replayedFailures = 0; +const key = row => `${row.scenario}/${row.policy}/${row.shape}/${row.callers}/${row.replicate}`; +for (const row of capture.rows) { + const label = `${row.arm}/${key(row)}`, plan = recipe(row); + assert.deepEqual(row.options, {}, label); + assert.equal(row.effectivePolicy, row.policy, label); + assert.deepEqual(row.initial, snapshot(plan.initial), label); + assert.deepEqual(row.actions.map(({ admitted, settled, outcome, originalReason, ...action }) => action), plan.actions, label); + assert.ok(row.actions.every(action => action.admitted && action.settled), label); + const store = makeStore(row.initial), primitives = new Map(), admitted = new Set(), settled = new Set(); + let atQuiescence = false, gates = 0, releases = 0, checkpoint = -1, sampleIndex = 0, previous; + const inspectSample = (sample, event, outstanding) => { + assert.equal(sample.phase, event.phase, label); assert.equal(sample.event, event.event, label); + assert.equal(sample.outstanding, outstanding, label); + for (const field of ["namespaces", "keys", "barriers", "active", "outstanding"]) assert.ok(Number.isInteger(sample[field]) && sample[field] >= 0, label); + assert.ok(sample.active <= outstanding && sample.keys + sample.barriers <= sample.active && sample.namespaces <= sample.active, label); + if (outstanding === 0) assert.equal(sample.active + sample.keys + sample.barriers + sample.namespaces, 0, label); + }; + for (const [index, event] of row.events.entries()) { + if (previous?.phase === "purge" && event.phase !== "purge") inspectSample(row.coordinator[sampleIndex++], previous, 0); + if (event.event === "admit") { assert.ok(!admitted.has(event.action), label); admitted.add(event.action); } + if (event.event === "settle") { assert.ok(admitted.has(event.action) && !settled.has(event.action), label); settled.add(event.action); } + inspectSample(row.coordinator[sampleIndex++], event, admitted.size - settled.size + Number(event.phase === "purge")); + if (event.event === "start") { + assert.equal(event.id, primitives.size, label); assert.ok(["get", "set", "delete"].includes(event.kind), label); + if (event.kind === "set") assert.equal(event.entry.key, event.key, label); + primitives.set(event.id, { ...event, read: false, committed: false, failed: false, finished: false }); + } else if (["read", "commit", "failure", "finish", "gate", "released"].includes(event.event)) { + const primitive = primitives.get(event.id); + assert.ok(primitive && !primitive.finished && primitive.phase === event.phase, label); + if (event.event === "read") { + assert.equal(primitive.kind, "get", label); assert.equal(primitive.read, false, label); + assert.deepEqual(event.entry, store.get(primitive.key) ?? null, label); primitive.read = true; replayedReads++; + } + if (event.event === "commit") { + assert.ok(primitive.kind !== "get" && !primitive.committed && !primitive.failed, label); + if (primitive.kind === "set") store.set(primitive.key, clone(primitive.entry)); else store.delete(primitive.key); + primitive.committed = true; replayedCommits++; + } + if (event.event === "failure") { + assert.ok(!primitive.committed && !primitive.failed, label); + assert.equal(event.error, `Injected ${row.scenario} failure`, label); + primitive.failed = true; replayedFailures++; + } + if (event.event === "finish") { + assert.ok(primitive.kind === "get" ? primitive.read : primitive.committed !== primitive.failed, label); primitive.finished = true; + } + if (event.event === "gate") { assert.equal(gates++, 0, label); primitive.gated = true; } + if (event.event === "released") { assert.ok(primitive.gated && checkpoint >= 0, label); assert.equal(releases++, 0, label); } + } else if (event.event === "checkpoint") { + assert.equal(event.kind, "before-release", label); assert.equal(checkpoint, -1, label); checkpoint = index; + } else if (event.event === "quiescent") { + assert.equal(event.phase, "work", label); assert.equal(atQuiescence, false, label); atQuiescence = true; + assert.ok([...primitives.values()].every(value => value.finished), label); assert.equal(settled.size, plan.actions.length, label); + assert.deepEqual(snapshot(store), row.actual, label); + } else assert.ok(["admit", "settle", "namespace-io"].includes(event.event), label); + previous = event; + } + assert.equal(sampleIndex, row.coordinator.length, label); + assert.ok(atQuiescence && [...primitives.values()].every(value => value.finished), label); + assert.equal(row.totalPrimitives, primitives.size, label); replayedPrimitives += primitives.size; + assert.deepEqual(row.work, stats(row, "work"), label); + assert.deepEqual(snapshot(store), row.purge?.actual ?? row.actual, label); + const logical = makeStore(row.initial), memories = Array.from({ length: row.callers }, () => new Map()); + const operations = Array.from({ length: row.callers }, () => []), errors = Array(row.callers).fill(0), writes = Array(row.callers).fill(0); + let clones = 0, cloneBytes = 0; + for (const action of plan.actions) { + const keys = keysOf(logical.get(registry(action.namespace))), memory = memories[action.actor], tape = operations[action.actor]; + if (action.kind === "set") { + memory.set(action.key, clone(action.entry)); tape.push({ kind: "set", key: action.key }, { kind: "delete", key: action.key }); + clones++; cloneBytes += Buffer.byteLength(JSON.stringify(action.entry)); writes[action.actor]++; + if (action.fail !== "registry") { + keys.add(action.key); logical.set(registry(action.namespace), marker(action.namespace, keys)); + if (action.fail !== "payload") logical.set(scoped(action.namespace, action.key), { ...clone(action.entry), key: scoped(action.namespace, action.key) }); + } + } else if (action.kind === "delete") { + memory.delete(action.key); tape.push({ kind: "delete", key: action.key }); + logical.delete(scoped(action.namespace, action.key)); keys.delete(action.key); logical.set(registry(action.namespace), marker(action.namespace, keys)); + } else { + memory.clear(); tape.push({ kind: "clear" }); + for (const item of keys) if (action.fail !== "cleanup" || item !== plan.failure) logical.delete(scoped(action.namespace, item)); + if (!action.fail) logical.delete(registry(action.namespace)); + } + if (action.fail) errors[action.actor]++; + } + if (row.scenario === "split-delegate-control") logical.set(registry(owner), marker(owner, new Set([plan.keep, plan.other(row.callers - 1)]))); + assert.deepEqual(row.expected, snapshot(logical), label); + const memoryCorrect = row.memory.every((memory, actor) => equal(memory.values, snapshot(memories[actor])) && equal(memory.operations, operations[actor])); + const expectedMetrics = memories.map((memory, actor) => ({ + policy: row.policy, memoryHits: 0, indexedDbHits: 0, misses: 0, writes: writes[actor], + memoryEntries: memory.size, + memoryBytes: [...memory.values()].reduce((sum, value) => sum + Buffer.byteLength(JSON.stringify(value.value)) + value.key.length + value.etag.length + 48, 0), + evictions: 0, persistentErrors: errors[actor], persistentAvailable: errors[actor] === 0, + persistentEvictions: 0, persistentQuotaRetries: 0, persistentQuotaRecoveries: 0, persistentSkippedWrites: 0, + })); + const metricsCorrect = equal(row.metrics, expectedMetrics); + assert.deepEqual(row.workClones, { calls: clones, inputBytes: cloneBytes }, label); + const outcomesCorrect = row.actions.every(action => action.outcome === (action.fail && action.kind === "destroy" ? `Injected ${row.scenario} failure` : "fulfilled") && + (!(action.fail && action.kind === "destroy") || action.originalReason === true)); + const coldKeys = [...new Set([plan.keep, plan.key, ...plan.actions.flatMap(action => action.key === undefined ? [] : [action.key])])].sort(); + const cold = (recorded, expectedStore, actualStore) => { + assert.deepEqual(recorded.keys, coldKeys, label); + const returns = selected => coldKeys.map(item => selected.has(scoped(owner, item)) ? { ...clone(selected.get(scoped(owner, item))), key: item } : null); + assert.deepEqual(recorded.expected, returns(expectedStore), label); assert.deepEqual(recorded.returned, returns(actualStore), label); + assert.equal(recorded.correct, equal(recorded.expected, recorded.returned), label); return recorded.correct; + }; + const beforeCold = cold(row.beforePurge, logical, makeStore(row.actual)); + let stateCorrect = equal(row.actual, row.expected), coldCorrect = beforeCold; + if (["concurrent-distinct-sets", "split-delegate-control"].includes(row.scenario)) { + assert.ok(row.purge, label); + for (const item of keysOf(logical.get(registry(owner)))) logical.delete(scoped(owner, item)); + logical.delete(registry(owner)); + assert.deepEqual(row.purge.expected, snapshot(logical), label); + const afterCold = cold(row.purge.cold, logical, makeStore(row.purge.actual)); + coldCorrect = coldCorrect && afterCold; + stateCorrect &&= equal(row.purge.actual, row.purge.expected); + } else assert.equal(row.purge, null, label); + const independent = ["independent-key-progress", "foreign-namespace-progress"].includes(row.scenario); + const hasGate = row.scenario.startsWith("late-") || ["cross-wrapper-barrier-chain", "cleanup-failure"].includes(row.scenario) || independent; + assert.equal(gates, Number(hasGate), label); assert.equal(releases, Number(hasGate), label); assert.equal(row.gateUsed, hasGate, label); + const early = checkpoint < 0 ? [] : row.events.slice(0, checkpoint); + const progress = !independent || plan.actions.slice(1).every(action => early.some(event => event.event === "settle" && event.action === action.id)); + const conflictingBlocked = !hasGate || independent || !early.some(event => event.event === "namespace-io" && (event.action ?? 0) > 0) && + !(row.scenario === "late-set-delete" && early.some(event => event.event === "start" && event.kind === "delete" && event.key === scoped(owner, plan.key))); + assert.equal(row.scopedProtection, row.scenario !== "split-delegate-control", label); + assert.equal(row.failureUsed, plan.actions.some(action => action.fail), label); + const derived = { stateCorrect, coldCorrect, memoryCorrect, metricsCorrect, outcomesCorrect, progress, conflictingBlocked, resourcesClean: true, resourcesBound: true }; + for (const [field, value] of Object.entries(derived)) assert.equal(row[field], value, `${label}/${field}`); + assert.equal(row.correct, Object.values(derived).every(Boolean), label); +} +const expectedOrder = []; +for (const [s, scenario] of protocol.matrix.scenarios.entries()) for (const [p, policy] of protocol.matrix.policies.entries()) { + for (const [h, shape] of protocol.matrix.shapes.entries()) for (const [c, callers] of protocol.matrix.callers.entries()) { + for (let replicate = 0; replicate < protocol.matrix.replicates; replicate++) for (const arm of (s + p + h + c + replicate) % 2 ? ["candidate", "baseline"] : ["baseline", "candidate"]) { + expectedOrder.push(`${arm}/${scenario}/${policy}/${shape}/${callers}/${replicate}`); + } + } +} +assert.deepEqual(capture.rows.map(row => `${row.arm}/${key(row)}`), expectedOrder); +assert.equal(replayedPrimitives, capture.primitiveCalls); assert.ok(replayedPrimitives <= protocol.limits.maximumPrimitiveCalls); +const before = new Map(capture.rows.filter(row => row.arm === "baseline").map(row => [key(row), row])); +const after = new Map(capture.rows.filter(row => row.arm === "candidate").map(row => [key(row), row])); +const primitiveTape = row => row.events.filter(event => ["start", "read", "commit", "failure", "finish"].includes(event.event)); +const pairs = [...before].map(([id, baseline]) => { + const candidate = after.get(id); + return { + id, memoryAndCloneWorkEqual: equal(baseline.memory, candidate.memory) && equal(baseline.workClones, candidate.workClones), + metricsAndOutcomesEqual: equal(baseline.metrics, candidate.metrics) && equal(baseline.actions, candidate.actions), + sequentialPrimitiveTapeEqual: baseline.scenario === "sequential-reuse" ? equal(primitiveTape(baseline), primitiveTape(candidate)) : null, + candidateContract: candidate.correct, + }; +}); +assert.deepEqual(capture.pairs, pairs); +const summary = protocol.matrix.scenarios.map(scenario => { + const summarize = arm => { + const rows = capture.rows.filter(row => row.scenario === scenario && row.arm === arm); + return { + trials: rows.length, correct: rows.filter(row => row.correct).length, + stateCorrect: rows.filter(row => row.stateCorrect).length, coldCorrect: rows.filter(row => row.coldCorrect).length, + blockedCorrectly: rows.filter(row => row.conflictingBlocked).length, + workPrimitiveCalls: rows.reduce((sum, row) => sum + row.work.total, 0), + allPrimitiveCalls: rows.reduce((sum, row) => sum + row.totalPrimitives, 0), + workClones: rows.reduce((sum, row) => sum + row.workClones.calls, 0), + workCloneInputBytes: rows.reduce((sum, row) => sum + row.workClones.inputBytes, 0), + peakActive: Math.max(0, ...rows.flatMap(row => row.coordinator.map(sample => sample.active))), + peakKeys: Math.max(0, ...rows.flatMap(row => row.coordinator.map(sample => sample.keys))), + }; + }; + return { scenario, baseline: summarize("baseline"), candidate: summarize("candidate") }; +}); +assert.deepEqual(capture.summary, summary); +const lost = row => row.actions.filter(action => action.kind === "set").some(action => !keysOf(row.actual.find(value => value.key === registry(owner))).has(action.key)); +const primary = [...before.values()].filter(row => row.scenario === "concurrent-distinct-sets"); +const scope = [...after.values()].filter(row => row.scenario === "split-delegate-control"); +const gates = { + sourceUnchanged: true, allCandidateContracts: [...after.values()].every(row => row.correct), + baselinePrimaryReproduced: primary.length === 24 && primary.every(row => lost(row) && row.actions.every(action => action.outcome === "fulfilled") && + row.metrics.every(value => value.persistentErrors === 0) && row.purge.cold.returned.some(value => value !== null)), + scopeBoundaryRetained: scope.length === 24 && scope.every(row => row.correct && !row.scopedProtection && lost(row) && row.purge.cold.returned.some(value => value !== null)), + pairedMemoryAndOutcomes: pairs.every(pair => pair.memoryAndCloneWorkEqual && pair.metricsAndOutcomesEqual && pair.sequentialPrimitiveTapeEqual !== false && pair.candidateContract), + withinLimits: replayedPrimitives <= protocol.limits.maximumPrimitiveCalls && Date.parse(capture.finishedAt) - Date.parse(capture.startedAt) < protocol.limits.maximumRunMinutes * 60_000, +}; +assert.deepEqual(capture.gates, gates); assert.ok(Object.values(gates).every(Boolean)); +assert.equal(capture.fatal, null); assert.equal(capture.complete, true); +const header = ["arm", "scenario", "policy", "shape", "callers", "replicate", "correct", "stateCorrect", + "coldCorrect", "conflictingBlocked", "progress", "resourcesClean", "resourcesBound", "workPrimitives", + "allPrimitives", "registryReads", "registryWrites", "payloadWrites", "payloadDeletes", "registryDeletes", + "failures", "workClones", "workCloneInputBytes", "peakActive", "peakKeys"]; +const csv = capture.rows.map(row => [ + row.arm, row.scenario, row.policy, row.shape, row.callers, row.replicate, row.correct, row.stateCorrect, + row.coldCorrect, row.conflictingBlocked, row.progress, row.resourcesClean, row.resourcesBound, row.work.total, + row.totalPrimitives, row.work.registryReads, row.work.registryWrites, row.work.payloadWrites, row.work.payloadDeletes, + row.work.registryDeletes, row.work.failures, row.workClones.calls, row.workClones.inputBytes, + Math.max(...row.coordinator.map(sample => sample.active)), Math.max(...row.coordinator.map(sample => sample.keys)), +]); +assert.equal(await readFile(`${stem}-trials.csv`, "utf8"), [header, ...csv].map(row => row.map(field => `"${String(field).replaceAll('"', '""')}"`).join(",")).join("\n") + "\n"); +const bars = summary.map((row, index) => { + const y = 84 + index * 36; + return `${row.scenario}` + + `${row.baseline.correct}/24` + + `${row.candidate.correct}/24`; +}); +assert.equal(await readFile(`${stem}-contracts.svg`, "utf8"), [ + '', + 'Shared persistent namespace contract outcomes', + 'Declared contract passes out of 24 trials per arm and recipe. Baseline is upper red; candidate is lower green. Split-delegate-control passes by retaining the explicitly uncoordinated orphan outcome.', + '', + 'Declared persistent, memory and ordering contracts', + 'Baseline (upper, red); candidate (lower, green). Controlled schedules, no timing inference.', + ...bars, 'Split-delegate-control intentionally retains lost membership and readable orphans.', + 'Source: paired raw event/state rows. Same immediate delegate identity and loaded module only.', + '\n', +].join("\n")); +console.log(JSON.stringify({ + complete: true, sourceCommit: capture.sourceCommit, inputs: capture.source.length, rows: capture.rows.length, + baselineCorrect: [...before.values()].filter(row => row.correct).length, candidateCorrect: [...after.values()].filter(row => row.correct).length, + primitives: replayedPrimitives, reads: replayedReads, commits: replayedCommits, failures: replayedFailures, pairs: pairs.length, +})); diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index e0f6812..8bc9db6 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -111,10 +111,20 @@ The same tiered cache orders admitted persistent mutations by key and uses whole-cache cleanup barriers. Unrelated keys can proceed independently; immediate memory updates are unchanged. Conflicting work waits for complete adapter promises, including failures. Hung operations and caller concurrency -can retain pending work beyond resident-cache limits. This is not -cross-instance ordering or read linearizability. See +can retain pending work beyond resident-cache limits. That tiered rule alone +does not provide cross-instance ordering or read linearizability. See [persistent mutation ordering](BROWSER-CACHE.md#persistent-mutation-ordering). +Custom-persistent wrappers from one loaded module also coordinate when they +share the exact immediate delegate object and encoded namespace. Registry +updates are serialised; complete same-key work and namespace cleanup barriers +preserve mutation order. Failed cleanup drains started deletes before releasing +its barrier. Idle coordination state is removed. Registry contention, pending +references and error-drain delay are real costs. Different delegate identities, +module copies, tabs, direct writes, reads and shared memory remain outside +this rule; the default IndexedDB path is unchanged. See +[shared custom-persistent namespaces](BROWSER-CACHE.md#shared-custom-persistent-namespaces). + Public result copies add local work proportional to the JSON returned. Individual point results do not require new whole-page copies, and queries do not copy unreturned candidate documents as outputs. Existing cache-entry diff --git a/docs/BROWSER-CACHE.md b/docs/BROWSER-CACHE.md index b0ad6b7..169c0ca 100644 --- a/docs/BROWSER-CACHE.md +++ b/docs/BROWSER-CACHE.md @@ -233,11 +233,53 @@ to `set` must remain stable until it settles; no new input copy is made. Adapters must report accurate completion promises. Other tiered instances, direct adapter calls, cross-tab writes, reads begun during unfinished -mutations and durable logout remain outside this guarantee. See the +mutations and durable logout remain outside this per-tiered-instance guarantee. +Shared custom-persistent wrappers also follow the separate rule below. See the [mutation-ordering qualification](https://github.com/Jason-Doyle/thimble/blob/main/benchmarks/ordered-persistent-cache-mutations/README.md) for controlled outcomes, unchanged call/copy counts, native encryption cases and rejection criteria. It establishes no latency or heap benefit. +## Shared custom-persistent namespaces + +Connections using the same custom `persistentCache` object and encoded +authority-and-scope namespace coordinate mutations through +`NamespacedPersistentObjectCache` from one loaded module. Registry +read-modify-write work is serialised across those wrappers, so settled +distinct-key writes do not overwrite each other's cleanup membership. + +Complete same-key sets and deletes wait for predecessors. Namespace `clear` +and `destroy` wait for earlier mutations, and later mutations wait for the +cleanup. Different payload keys and foreign namespaces remain independently +runnable before a cleanup barrier. Reads and each connection's memory remain +outside this shared ordering rule. + +After a child deletion fails, cleanup drains every already-started delete, +retains the registry for retry and rejects with the first observed original +reason. A synchronous throw stops further child starts but still drains +earlier ones. This prevents a pending old cleanup from deleting a later +cooperating replacement after reporting failure. Tiered fallback and destroy +rejection behaviour remain unchanged. + +Coordination retains active work only and removes idle namespace/key/barrier +state. Shared registry work adds contention; conflicting keys and cleanup can +wait behind a slow or hung delegate. Queued entry references and dependency +snapshots can exceed resident cache budgets, and cleanup errors now wait for +started deletes to settle. Inputs must remain stable until `set` settles. +Delegates must return accurate completion promises and must not await +recursive mutations into the same coordination domain. + +Distinct delegate objects over one backing store, other module copies, +cross-tab writes and direct delegate mutations are uncoordinated. This is +unsuitable as shared-memory invalidation, read linearizability or durable +logout. It does not repair malformed registries or change the existing +reserved registry-key collision boundary. The built-in default IndexedDB +path, bounded-custom-delegate rejection, stored formats and public options +are unchanged. See the +[shared-namespace qualification](https://github.com/Jason-Doyle/thimble/blob/main/benchmarks/shared-persistent-namespace-ordering/README.md) +for exact outcomes, unchanged ordinary call/copy work, native coverage and +costs. No latency, throughput, heap or production-frequency benefit is +established. + ## Diagnostics Read `db.metrics().cache` or `connection.cache.metrics()`: diff --git a/docs/EVALUATION.md b/docs/EVALUATION.md index 6267913..472f7fb 100644 --- a/docs/EVALUATION.md +++ b/docs/EVALUATION.md @@ -85,11 +85,21 @@ examines same-key mutations and whole-cache cleanup completing out of order. It publishes invocation/completion events, exact states and cold returns, unchanged adapter/copy counts and five-way unrelated-key overlap. Separate native cases use encrypted IndexedDB and deliberately delayed WebCrypto. -Ordering is limited to admitted mutations in one tiered instance; blocking, +That experiment covers admitted mutations in one tiered instance; blocking, pending-work retention and input-reference requirements remain real costs. It does not establish read linearizability, cross-tab consistency, latency, throughput or heap benefits. +The [shared-custom-namespace qualification](https://github.com/Jason-Doyle/thimble/blob/main/benchmarks/shared-persistent-namespace-ordering/README.md) +examines lost registry membership and cleanup ordering across wrappers sharing +one immediate delegate object and encoded namespace. It publishes paired +primitive read/commit/failure ledgers, logical and cold states, copy work, +active-only bookkeeping observations and independent replay. Separate native +cases use encrypted IndexedDB and the connection factory. Different delegate +identities deliberately retain their uncoordinated outcome. Shared registry +contention, pending references and failure-drain delay are costs; no cross-tab, +read-consistency, latency, throughput or heap benefit is established. + The [failed-decryption cleanup qualification](https://github.com/Jason-Doyle/thimble/blob/main/benchmarks/conditional-corrupt-cache-cleanup/README.md) examines stale corrupt snapshots deleting committed replacements. It uses real WebCrypto, raw encrypted-state identities and transaction/request diff --git a/docs/PROTOCOL.md b/docs/PROTOCOL.md index 7610bcb..a747f43 100644 --- a/docs/PROTOCOL.md +++ b/docs/PROTOCOL.md @@ -259,11 +259,31 @@ Failed predecessors do not poison later admitted work. This requires accurate adapter completion promises and stable set inputs until settlement. A hung operation can block conflicting work; cleanup dependency snapshots and caller concurrency can retain pending work beyond -resident-cache limits. There is no cross-instance or direct-adapter ordering, +resident-cache limits. This tiered rule alone provides no cross-instance or +direct-adapter ordering, read linearizability during mutations, cancellation or durable-logout claim. See [persistent mutation ordering](BROWSER-CACHE.md#persistent-mutation-ordering) and the [local qualification](https://github.com/Jason-Doyle/thimble/blob/main/benchmarks/ordered-persistent-cache-mutations/README.md). +### Shared custom-persistent namespaces + +Wrappers from one loaded module sharing the same immediate custom delegate +object and encoded namespace serialise registry updates and complete +same-key mutations. Namespace clear/destruction waits for earlier mutations +and fences later ones; other payload keys and foreign namespaces can proceed +before a barrier. Failed cleanup drains started deletes, retains tracking +and preserves its first observed original rejection reason. A synchronous +throw stops further child starts. + +This adds active-only promise bookkeeping, registry contention, queued input +references and possible cleanup-error delay. Inputs must remain stable until +settlement. Accurate delegate completion promises and non-reentrant mutation +behaviour are required. Other delegate identities/module copies, tabs, +direct writes, reads and shared-memory invalidation remain outside the +guarantee. No registry format, encoding, API or default IndexedDB path changes. +See [shared custom-persistent namespaces](BROWSER-CACHE.md#shared-custom-persistent-namespaces) +and the [qualification](https://github.com/Jason-Doyle/thimble/blob/main/benchmarks/shared-persistent-namespace-ordering/README.md). + ### Failed-decryption cleanup The concrete built-in persistent cache, with its original delete method and diff --git a/src/browser/cache.ts b/src/browser/cache.ts index ca83705..fd35dac 100644 --- a/src/browser/cache.ts +++ b/src/browser/cache.ts @@ -237,10 +237,20 @@ export class NamespacedMemoryObjectCache extends MemoryObjectCache { } } +type PersistentNamespaceMutations = { + pending: Map>; + barrier: Promise | undefined; + registry: Promise; + active: number; +}; + export class NamespacedPersistentObjectCache implements PersistentObjectCache { + private static readonly mutations = new WeakMap< + PersistentObjectCache, + Map + >(); private readonly prefix: string; - private mutation = Promise.resolve(); constructor( namespace: string, @@ -260,16 +270,21 @@ implements PersistentObjectCache { } async set(entry: CachedJsonObject): Promise { - await this.mutateRegistry((keys) => keys.add(entry.key)); - await this.delegate.set({ - ...entry, - key: this.key(entry.key), + const key = entry.key; + await this.mutate(key, async (state) => { + await this.mutateRegistry(state, (keys) => keys.add(key)); + await this.delegate.set({ + ...entry, + key: this.key(key), + }); }); } async delete(key: string): Promise { - await this.delegate.delete(this.key(key)); - await this.mutateRegistry((keys) => keys.delete(key)); + await this.mutate(key, async (state) => { + await this.delegate.delete(this.key(key)); + await this.mutateRegistry(state, (keys) => keys.delete(key)); + }); } clear(): Promise { @@ -281,18 +296,87 @@ implements PersistentObjectCache { } private async clearNamespace(): Promise { - await this.mutation; - const keys = await this.registry(); - await Promise.all( - [...keys].map((key) => this.delegate.delete(this.key(key))), + await this.mutate(undefined, async () => { + const keys = await this.registry(); + let failed = false; + let reason: unknown; + const recordFailure = (error: unknown) => { + if (!failed) { + failed = true; + reason = error; + } + }; + const pending: Promise[] = []; + for (const key of keys) { + try { + pending.push( + Promise.resolve(this.delegate.delete(this.key(key))) + .catch(recordFailure), + ); + } catch (error) { + recordFailure(error); + break; + } + } + // Started deletes must settle before the namespace barrier releases. + await Promise.all(pending); + if (failed) throw reason; + await this.delegate.delete(this.registryKey()); + }); + } + + private mutate( + key: string | undefined, + run: (state: PersistentNamespaceMutations) => Promise, + ): Promise { + const namespaces = + NamespacedPersistentObjectCache.mutations.get(this.delegate) + ?? new Map(); + const state: PersistentNamespaceMutations = + namespaces.get(this.prefix) ?? { + pending: new Map(), + barrier: undefined, + registry: Promise.resolve(), + active: 0, + }; + namespaces.set(this.prefix, state); + NamespacedPersistentObjectCache.mutations.set( + this.delegate, namespaces, ); - await this.delegate.delete(this.registryKey()); + state.active++; + const previous = key === undefined + ? Promise.allSettled([...state.pending.values(), state.barrier]) + : state.pending.get(key) ?? state.barrier ?? Promise.resolve(); + const operation = previous.then(() => run(state), () => run(state)); + if (key === undefined) { + state.pending.clear(); + state.barrier = operation; + } else { + state.pending.set(key, operation); + } + const release = () => { + if (key === undefined) { + if (state.barrier === operation) state.barrier = undefined; + } else if (state.pending.get(key) === operation) { + state.pending.delete(key); + } + state.active--; + if (state.active === 0 && namespaces.get(this.prefix) === state) { + namespaces.delete(this.prefix); + if (namespaces.size === 0) { + NamespacedPersistentObjectCache.mutations.delete(this.delegate); + } + } + }; + void operation.then(release, release); + return operation; } private mutateRegistry( + state: PersistentNamespaceMutations, update: (keys: Set) => void, ): Promise { - const operation = this.mutation.then(async () => { + const operation = state.registry.then(async () => { const keys = await this.registry(); update(keys); const now = Date.now(); @@ -305,7 +389,7 @@ implements PersistentObjectCache { immutable: false, }); }); - this.mutation = operation.catch(() => undefined); + state.registry = operation.catch(() => undefined); return operation; } diff --git a/tests/browser-persistent-namespace.test.ts b/tests/browser-persistent-namespace.test.ts new file mode 100644 index 0000000..4fc5cf1 --- /dev/null +++ b/tests/browser-persistent-namespace.test.ts @@ -0,0 +1,93 @@ +import { describe, expect, it } from "vitest"; +import { + NamespacedPersistentObjectCache, type PersistentObjectCache, +} from "../src/browser/cache.js"; +import { + bounded, currentRuntime, deferred, entry, flush, MapBackend, runTrial, scenarios, +} from "../benchmarks/shared-persistent-namespace-ordering/fixtures.js"; +import { runFactoryCase } from "../benchmarks/shared-persistent-namespace-ordering/factory-fixtures.js"; + +function delegate(backend = new MapBackend()): PersistentObjectCache { + return { + get: key => Promise.resolve(backend.read(key)), + set: value => { backend.write(value); return Promise.resolve(); }, + delete: key => { backend.remove(key); return Promise.resolve(); }, + clear: () => { backend.entries.clear(); return Promise.resolve(); }, + destroy: () => { backend.entries.clear(); return Promise.resolve(); }, + }; +} +describe("shared custom-persistent namespace coordination", () => { + for (const policy of ["content", "locations"] as const) { + for (const scenario of scenarios) { + for (const shape of ["head", "branch"] as const) for (const callers of [2, 4] as const) { + it(`${scenario}/${policy}/${shape}/${callers}`, async () => { + const result = await runTrial(currentRuntime, scenario, policy, shape, callers); + expect(result.correct, JSON.stringify(result)).toBe(true); + }); + } + } + it(`waits for the delegate promise after its payload commits/${policy}`, async () => { + const result = await runTrial(currentRuntime, "late-set-delete", policy, "head", 2, { afterCommit: true }); + expect(result.correct, JSON.stringify(result)).toBe(true); + expect(result.conflictingBlocked).toBe(true); + }); + it(`coordinates connection-factory wrappers/${policy}`, async () => { + const result = await runFactoryCase(policy); + expect(result.sequential.counts).toEqual({ get: 3, set: 3, delete: 1 }); + expect(result.sequential.clones).toBe(2); + expect(result.correct, JSON.stringify(result)).toBe(true); + }); + } + it("coordinates direct wrappers sharing the same delegate", async () => { + const backend = new MapBackend(), shared = delegate(backend); + const wrappers = Array.from({ length: 4 }, () => new NamespacedPersistentObjectCache("shared", shared)); + await Promise.all(wrappers.map((wrapper, index) => wrapper.set(entry("head", index, `item-${index}/HEAD.json`)))); + await new NamespacedPersistentObjectCache("shared", shared).clear(); + expect(backend.snapshot()).toEqual([]); + }); + for (const key of ["", "colon:a/'quoted/HEAD.json", "\u03bb/\ud83e\uddf5/HEAD.json"]) { + it(`coordinates the supported key ${JSON.stringify(key)}`, async () => { + const result = await runTrial(currentRuntime, "late-set-clear", "content", "head", 2, { key }); + expect(result.correct, JSON.stringify(result)).toBe(true); + }); + } + it("drains earlier deletes before reporting a synchronous cleanup throw", async () => { + const result = await runTrial(currentRuntime, "cleanup-failure", "content", "head", 2, { synchronousCleanupThrow: true }); + expect(result.correct, JSON.stringify(result)).toBe(true); + expect(result.actions[0]!.originalReason).toBe(true); + }); + for (const option of ["disabledPolicy", "memoryOnly", "malformedRegistry"] as const) { + it(`preserves ${option} behaviour`, async () => { + const result = await runTrial(currentRuntime, "sequential-reuse", "content", "head", 2, { [option]: true }); + expect(result.correct, JSON.stringify(result)).toBe(true); + }); + } + it("preserves the first observed rejection while draining later failures", async () => { + const backend = new MapBackend(), shared = delegate(backend); + const wrapper = new NamespacedPersistentObjectCache("shared", shared); + await wrapper.set(entry("head", 1, "a/HEAD.json")); + await wrapper.set(entry("head", 2, "b/HEAD.json")); + const late = deferred(), first = new Error("first observed"), second = new Error("later observed"); + const original = shared.delete; + shared.delete = key => key.endsWith("a/HEAD.json") ? late.promise.then(() => { throw second; }) + : key.endsWith("b/HEAD.json") ? Promise.reject(first) : original.call(shared, key); + let settled = false, reason: unknown; + const cleanup = wrapper.destroy().then(() => { settled = true; }, error => { settled = true; reason = error; }); + try { await flush(); expect(settled).toBe(false); } + finally { late.resolve(); await bounded(cleanup, "Multiple cleanup failures"); } + expect(reason).toBe(first); + }); + it("releases idle bookkeeping across 1000 distinct namespace lifecycles", async () => { + const backend = new MapBackend(), shared = delegate(backend); + const states = (NamespacedPersistentObjectCache as unknown as { + mutations?: WeakMap>; + }).mutations; + for (let index = 0; index < 1000; index++) { + const wrapper = new NamespacedPersistentObjectCache(`lifecycle-${index}`, shared); + await wrapper.set(entry("head", 1, "object/HEAD.json")); + await wrapper.destroy(); + expect(states?.get(shared)?.size ?? 0).toBe(0); + } + expect(backend.snapshot()).toEqual([]); + }); +}); diff --git a/tests/e2e/cache-shared-namespace.spec.ts b/tests/e2e/cache-shared-namespace.spec.ts new file mode 100644 index 0000000..1319b91 --- /dev/null +++ b/tests/e2e/cache-shared-namespace.spec.ts @@ -0,0 +1,35 @@ +import { expect, test } from "@playwright/test"; +import { encryptedScenarios } from "../../benchmarks/shared-persistent-namespace-ordering/native-fixtures.js"; + +for (const policy of ["content", "locations"] as const) { + for (const scenario of encryptedScenarios) { + test(`coordinates encrypted shared namespace ${scenario}/${policy}`, async ({ page }) => { + await page.goto("/"); + const observed = JSON.parse(await page.evaluate(async ({ scenario, policy }) => { + // @ts-expect-error Vite serves source modules during browser qualification. + const { runEncryptedScenario } = await import("/benchmarks/shared-persistent-namespace-ordering/native-fixtures.ts"); + return JSON.stringify(await runEncryptedScenario(scenario, policy)); + }, { scenario, policy })); + await test.info().attach("namespace-observation", { body: JSON.stringify(observed), contentType: "application/json" }); + expect(observed.correct, JSON.stringify(observed)).toBe(true); + expect(observed.encryption.encryptedRowsOnly).toBe(true); + expect(observed.encryption.nonExtractableAesKey).toBe(true); + expect(observed.encryption.rowsChecked).toBeGreaterThan(0); + }); + } + test(`coordinates connection-factory custom namespace/${policy}`, async ({ page }) => { + await page.goto("/"); + const observed = JSON.parse(await page.evaluate(async policy => { + // @ts-expect-error Vite serves source modules during browser qualification. + const { runEncryptedFactory } = await import("/benchmarks/shared-persistent-namespace-ordering/native-fixtures.ts"); + return JSON.stringify(await runEncryptedFactory(policy)); + }, policy)); + await test.info().attach("factory-observation", { body: JSON.stringify(observed), contentType: "application/json" }); + expect(observed.correct, JSON.stringify(observed)).toBe(true); + expect(observed.sequential.counts).toEqual({ get: 3, set: 3, delete: 1 }); + expect(observed.sequential.clones).toBe(2); + expect(observed.encryption.encryptedRowsOnly).toBe(true); + expect(observed.encryption.nonExtractableAesKey).toBe(true); + expect(observed.encryption.rowsChecked).toBeGreaterThan(0); + }); +}